Sending PJL to a HP LJ p2055d

A fairly simple question, I'm sure, but I'm stumped - I'm trying to send plaintext to a LaserJet P2055d as a downlevel job {i.e. simply copying a file to the share path}. However, it includes a number of central European characters such as žđćšč which print incorrectly. So, after a full day of unsuccessful messing around and experimentation, I figured I might as well hijack someone else's expertise - what sequence do I need to send/prepend the text with for:
Fixed-space regular font {ideally Courier, but as long as it's not too silly, I'm not picky}
Using CE characters like ŽĐĆŠČ {the text file is encoded as ANSI, but that can be changed if needed}
I'd really appreciate help with this - I suspect my problem is defining the wrong typeface family or something. I'm kind of out of ideas.
This question was solved.
View Solution.

>> ... such as žđćšč
>> ... characters like ŽĐĆŠČ 
>> ... the text file is encoded as ANSI, but that can be changed if needed
The term ANSI is a somewhat loose term.
The character set commonly known as Windows ANSI (Code Page 1252) is a superset of the ISO-8859-1 Latin-1 character set, which uses some of the codes in the (little-used) C1 control-code range (0x80-0x9f) to represent graphic characters.
Whilst this includes some of your characters (the upper-and lower-case 'z with caron', 'eth' and 's with caron'), it does not include all of them (not 'c with acute accent' or 'c with caron').
ANSI (it appears - see http://en.wikipedia.org/wiki/Windows_code_pages ) can also be used to refer to a number of different Windows Code Pages, including Code Page 1250, which is for Central European languages, so this is (possibly) the one that your documents are encoded with.
If so, you could try prepending your data with the following PCL symbol set/typeface escape sequences:
<Esc>(9E<Esc>(s0p10h0s0b4099T
where:
<Esc> represents the (non-graphic) Escape control-code character (the character with decimal code 27, or hexadecimal 1B).
This font selection sequence should select the Courier Regular typeface at 10 characters-per-inch.
Changing 9E to 19U would select the standard Western European (Code Page 1252) character set.

Similar Messages

  • PJL - P4015n - Windows Server 2008

    Hi There,
    O/S: Windows Server 2008
    Printer: P4015n
    Problem:
    I am trying to send PJL commands to our printer, through windows server 2008 / or any windows O/S for that matter.
    Basically, I open a text file.  And type the following:
    Ec%-12345X@PJL NUMBER COPIES = 2
    Ec%-12345X
    This is a test.
    I am expecting it to print "This is a test" 2 times.
    Instead it prints the entire text
    Ec%-12345X@PJL NUMBER COPIES = 2
    Ec%-12345X
    This is a test.
    And does not seem to process the Ec.... NUMBER COPIES... command.
    Any idea what the problem might be?  I have this working on our OKIDATA, using a generic windows text only driver.
    Though have had no luck with the P4015n.  We only have the P4015n working through the linux driver ( printing from linux ), but no luck with the windows driver ( printing from windows / notepad ).
    Any suggestions would be extremely helpful.
    Thank you,
    - Jacques

    has anyone had success, putting PJL in notepad, and have the printer process that PJL, instead of straight out printing the text??
    I just need a driver / sample PJL code, of something that should work.
    Thanks,

  • Hp1200 v printing a page of PJL commands before the doucment is printed.

    Good afternoon,
    Firstly the details.
    Printer make \ model : Hp laserjet 1200 v
    Printer Driver             : Hp Laserjet 1200 series PCL5e
    Platform                   : Windows 2003 (sbs) SP2
    Between printer and network there is a Castelle print server.
    Problem:
    When i send a document to the printer from word, excel or outlook firstly i get with the following text.
    @PJL COMMENT "context data is not available"
    @PJL SET RET=ON@PJL SET DUPLEX=OFF
    @PJL  SET ECONOMODE=OFF
    @PJL SET OUTBIN=UPPER
    @PJL SET FINISH=NONE
    @PJL SET PAGEPROTECT=AUTO
    @PJL SET PAPER=A4
    @PJL SET TRAY1TEMP=NORMAL
    @PJL SET HOLD=OFF
    @PJL SET RESOLUTION=600
    @PJL  ENTER LANGUAGE=PCL
    Then after the printer prints the document with no problems. however it is a bit of a waste of paper if for every print job that we do an extra page comes out with the PJL commands.
    So far i have tried differen drivers for the printer.
    Removed and recreated the printer on the server.
    Changed the printer for another printer of the same make and model.
    Tried disabling the advanced printing features on the printer.
    banged head against table in frustration!
    does anyone have an idea of how i can remove \ disable the PJL commands that are being sent with the actual document.
    Hope thats clear peeps.
    Many thanks in advance.
    Regards
    =Sonic=
    Message Edited by =sonic= on 05-01-2009 07:12 AM

    Had the same problem with my printer hooked up to a printer server. I had to disconect the printer server and reinstall the printer drivers connecting directly to the computer via usb.

  • Cannot Read PJL response from HP photosmart 5510

    Hi all,
                I have small code that reads printer status using PJL command INFO STATUS. I can get the PJL response from different hp printers like hp4005n, hp4515 and hp M1212nf . When I send the same command to HP photsmart 5510 I get no response from printer. Infact I get EOF(end of file) error. Is it because HP photosmart does not support PJL read back statuses ? I shall be very thankful for any help in this regard.
    Thanks,
    Ali

    Restart your printer and WiFi router by removing power for 30 seconds.

  • How to select tray using PJL command language

    Hello, I am printing directly on the TCP port 9100 of my HP Laserjet printer with a script and would like to know what is the PJL command in order to set the tray on this specific printer. For example when I would like to print using the tray number I tried the following command: @PJL SET MEDIASOURCE=TRAY2 but it does not work, my printer still uses tray 1... Any ideas? RegardsJohn

    Hi All,
    I have created a cube using Translations(Spanish and English)! Now the cube is ready for browsing, I browsed the cube and see the Spanish measures by changing the Language to Spanish in the toolbar. Now I am integrating this cube with C#.net, the cube browsed
    by English language successfully, OK.
    Now My problem is I want to browse the cube in Spanish also, How can we change the Language(in tool bar) dynamically from Application to SSAS server? I have one flag came for language, when the user select the language in my application. Is there any way to
    change the Language dynamically in SSAS server? 
    Please send suggestions/Answers to here or [email protected] 
    Thanks in advance!
    NAGA RAJ

  • Cannot send email from iPad2 with Shaw

    Hi there,
    I have issues that I cannot seem to resolve:
    I can receive from my shaw account but it sends all outgoing to the Outbox - I've double, triple cheked all incoming and outgoing servers - I even sat with my iPad next to my iMac to make sure everything matched.
    it says  The sender address "myemailadrees.com" was rejected by the server. even though I recive ok.
    Help please??

    I too have spend countless hours trying to get my iPad 2 to work with my Shaw email.  I FINALLY got it to work this morning after about 3 months of trying different "solutions".  Here is how I set my POP email account:
    Incoming mail server:
    Host name:  shawmail.ed.shawcable.net (I live in Edmonton)
    User name: my shaw email address without the @shaw.ca
    Password: my Shaw email password
    Outgoing mail server:
    Host name:  shawmail.ed.shawcable.net (I live in Edmonton)
    User name: leave blank
    Password: leave blank
    Use SSL: off
    Server port: 25
    This has worked so far for me, so hopefully it will work for others as well.  It seems like there is an lot of people on these forums going through the same frustrations.  I was able to set both mine and my wife's email accounts on my iPad.

  • I click on itunes but doesnt open and says send error report or dont send

    i click on itunes but doesnt open and says send error report or dont send

    You will need to provide more details as we cannot see your computer screen. Does this happen every time you launch LabVIEW? What version of LabVIEW are you using? What version of Windows? Does LabVIEW crash? If so, what were you doing at the time it crashed?

  • How can I disable sending from one Mail account?

    Hello. I have a gmail account that I use to subscribe to various newsletters and accounts. So it's essentially a read-only account for me. But I too frequently accidently send mail from that account. Is there a way to prevent mail from being sent from that account?

    I want to do the same thing as the OP.  I have tried making outgoing server none. And checking "always use this server so it prompts me to edit the message so that I manually select a different address to send from inthe drop down list. And selecting a different account for composing.  Actually, all my outgoing emails keep coming from the one account I am attempting to disable.  Got any other ideas?

  • When i send a PDF via e-print, it gets cropped, is there a way to prevent this from happening?

    PDF's are printing fine when i print direct to the printer but when they are sent by e-mail they get cropped, is there a way to get the document to fit to page when sent as an email attachment?
    The Printer in question is a HP LaserJet Enterprise 500 color M551n, the printer is brand new installed last week so i don't know if this is the norm or not.
    Edit: Please can someone please explain how to correct this.

    If you're using a desktop or notebook PC to send the email you could try installing the HP ePrint Mobile Driver software on your machine, the link to the download is here. This will allow you to print the PDF to any ePrint capable printer without having to email it to the printers email address as an attachment.
    Once installed and with your PDF open on your machine, select Print from the File menu, then select "ePrint" from the list of available printers (don't select the actual printer itself) and click Print in the bottom right corner of the box. A dialogue box will open showing the avaialble ePrint printers you can print to. Click on the Connected button on the left of the screen to add your printer to the list if its not listed.  
    Hope this helps.
    If my reply helped you, feel free to click on the Kudos button (hover over the "thumbs up").
    If my reply solved your problem please click on the Accepted Solution button so other Forum users may benefit from viewing the post.
    I am an HP employee.

  • Filename in sender Mail Adapter

    Hi Experts,
    Brief about Scenario:
    Invoice generated with PDF format in R/3 system and send to  mail box.  XI  pick that file from mail box  and deposited in SFTP Server.   
    Landscape in XI end.
    Mailbox - - -  XI 7.0 - - - SFTP
    The file name generated with CompanyCode_InvoiceType_InvoiceNumber.PDF from R/3 system. So that Same file name should be deposited in SFTP Server  . Here CompanyCode and InvoiceType are static and invoiceNumber generated dynamically with PDF format.
    My question is How to get file name from mail box.
    Thanks in advance.

    Hups. I forgot what was your main problem
    To get attachment file name you can try to implement you own adapter module as described [here|http://wiki.sdn.sap.com/wiki/display/XI/Adapter%20Module%20PI%207.0%20Get%20Attachment%20Name?bc=true]:
    I found it in this [thread|Need to get the Mail attachment name as it is to the receiver file adapter;.
    Please check that thread. The question is "not answered" but the last post states it was solved that way.

  • FileName in Sender File Adapter Module

    Hi Folks,
    In my sender file adapter have written a module to read the picked file name. The protocol used is NFS.
    Notice that the file name read in the module has the absolute path, including the directory path. E.g The file name xyz has to be picked from source directory
    XIServer\Outbound. In the module when I retrieve the file name, it comes up as
    XIServer\Outbound\xyz. Is this expected behaviour?
    I was expecting just the file name<xyz> to be retrieved.
    Thanks,
    Anand

    HI,
    Create an UDF and write this code.
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key =
    DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String ourSourceFileName = conf.get(key);
    return  ourSourceFileName;
    in Adapter u will have Adapter specific parameters check the file name check box.
    Using this UDF u will get the file name at target side.
    Regards,
    Phani.

  • Cannot send email from my Touch (connection to smtp server fails)

    Hello,
    I have a new iPod Touch with 1.1.4 and the January apps. I am having a problem setting the Mail application.
    I am trying to connect to the IMAP/SMTP servers at my university. I am using the exact same settings and passwords I use on my laptop, which works fine. I can receive email fine on my Touch, but every time I try to send one it fails tellings me "the connection to the outgoing server smtp.myuniversity.edu failed".
    If I on purpose write a wrong password for the outgoing mail, the error message I get is different ("check the account settings for the outgoing server smtp.myuniversity.edu").
    The university IT people confirmed my settings, and told me that there is nothing blocking any handheld device from using the server.
    Does anyone know why this would happen?
    Thanks,
    Marcelo

    Thank you very much for your responses
    1) the link to mail setup is (sorry, it's quite long)
    http://www.knowledgepak.com/kpaksonline/kpol.asp?PiAlias=kpolpi17&k2dockey=04096 3251575739@kpol17&ViewLink=true&SkipHeader=false&printformat=true
    2) I am indeed using SSL, as instructed by IT
    3) I do use port 587 instead of 25 (25 does not work either)
    Any ideas? Thanks again.
    MC

  • Cannot send email from iPhne 5s

    I have just upgrade from iPhone 4 to iPhone 5s.  Excited but now I cannot even send any email.  No problem receiving.
    My setting in my email account is POP, incoming and outgoing mail server is mail.optusnet.com.au which is the same seeting as my previous phone.
    Can aynone help? Thanks

    Hi,
    Are you getting any error? Perhaps switching TLS/SSL on the SMTP configuration?
    I've found this link that may help
    https://devicehelp.optus.com.au/web/apple-iphone-5s/functions/messaging/setting- up-my-mobile-phone-for-email/
    Edit: correct versino of the link

  • Cannot send email from yahoo mail client

    I cannot open or send or attach anything to my email in the yahoo mail.  I know there's nothing wrong with the email because it works on my laptop, just not on my computer.  Could there be a setting problem, or a cookie problem or something?
    I also cannot open Bonjour to see my printer settings.  Everything was working fine yesterday.

    outgoing mail server
    SMTP - Yahoo! SMTP Server
    primary server
    Yahoo! SMTP server - ON
    server port 465
    That's what I have for my yahoo account.

  • Cannot send email from yahoo account on iPhone 5

    I just got an iPhone5 and I couldn't set up my Yahoo email as "yahoo"--it would not allow me to complete the process despot multiple attempts. I had to set it up as an "other" account. I can receive and read emails on my phone, but when I reply those messages will not send. They go to the outbox and an error message pops up that says" the email account has been rejected by the server" Does anyone have advice on either issue: setting up yahoo properly and/or sending email from phone?

    outgoing mail server
    SMTP - Yahoo! SMTP Server
    primary server
    Yahoo! SMTP server - ON
    server port 465
    That's what I have for my yahoo account.

Maybe you are looking for

  • Flex Module issue with Panel

    Hello everyone. I have the following problem. In my application I have several modules and each of them have components CollapsableTitleWindow (extends Panel). After opening the window it is added to the container which is in the main application (Co

  • Star wars Knights of the old republic

    Yeah, so I have the game and everything and I'm on a MacBook Pro and I can't figure out how to move my character around? All of the settings are on default. The game runs perfectly I just can't figure it out. Thanks!

  • SPLWeb Failed to start on CCB 2.3.1 on Windows 2003 32bit

    Hi, I'm trying to install CCB 2.3.1 on Windows Server 2003 23bit. I follow the installation document and provide all the prerequisite. When I try to start the environment, the SPLWeb deployment can't be started. On the log file there is: wl_domain.lo

  • How do i save highlighted changes in my PDF?

    PLease help regarding my problem. I want to save the document WITH the highlighted ones.

  • Material upload: alternate unit of measure problem

    Hello, I'm uploading materials using LSMW (BAPI nethod: BUS1001006). I have a problem for the records with alternate units of measure. I put the units in a separate file and map the ISO code and the Numerator. However, I receive an error M3333 for th