Ask Experts Questions for FREE Help !
Ask
    Bob1102's Avatar
    Bob1102 Posts: 3, Reputation: 1
    New Member
     
    #1

    Apr 4, 2008, 04:42 PM
    Print code for Dell Laser Color Printer (model 3100cn)
    I write software for Windows and need to know what code to send to a Dell Laser Color printer (Model 3100cn) to have it select the multipurpose tray instead of the main tray so it will print envelops from that tray.

    Anyone know the code to accomplish this?
    donf's Avatar
    donf Posts: 5,679, Reputation: 582
    Printers & Electronics Expert
     
    #2

    Apr 4, 2008, 05:36 PM
    Well it really depends on what printer language you are using. As in PCL5e, PCLXL, PJL, ASCII.

    Give me a hint please. :)
    donf's Avatar
    donf Posts: 5,679, Reputation: 582
    Printers & Electronics Expert
     
    #3

    Apr 7, 2008, 11:16 AM
    Bob,

    I'm still waiting the language you are using for the printer code. As soon as you get me that, I can get the answer for you.
    Bob1102's Avatar
    Bob1102 Posts: 3, Reputation: 1
    New Member
     
    #4

    Apr 7, 2008, 05:46 PM
    The printer language I use is ASCII.
    donf's Avatar
    donf Posts: 5,679, Reputation: 582
    Printers & Electronics Expert
     
    #5

    Apr 7, 2008, 06:36 PM
    Bob,

    ASCII, is just code pages with code points that identify the character face. It is not a printer control or escape sequence to make the printer do something.

    For example to move the printer's cursor over 300 pixels and down 300 pixels would be: 0x1B*p+300x+300Y. That's what a PCL 5e command will look like.

    I'll take a quick look at the Dell site and see if I can get a look at the Technical Reference for this printer.
    donf's Avatar
    donf Posts: 5,679, Reputation: 582
    Printers & Electronics Expert
     
    #6

    Apr 7, 2008, 07:54 PM
    Bob,

    I did some quick scratching around and I found that the 3100cn supports the following language emulations: HP PCL5e, HP PCL XL (or PCL 6) and Postscript 3.

    By far the easiest of the languages is PCL 5e.

    You need to send two command sequences. One to select the input source and one to set the paper size as follows:

    <esc>&l6h81A Since you are using pure ASCII you must send the escape command as ASCII code point /027.

    Please note that I have linked the two commands into one string if you were to send separate strings it would be <esc>&l6H and <Esc>&l81A to select the commercial envelope # 10.
    donf's Avatar
    donf Posts: 5,679, Reputation: 582
    Printers & Electronics Expert
     
    #7

    Apr 12, 2008, 07:47 PM
    Bob,

    I was just wondering if that escape sequence worked for you?

    As HP added paper handling features to their higher end printers, they expanded their command operands. If the #6 failed, I could pull one of my newer Lexmark manuals and give you some other options.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Laser printer smudging [ 1 Answers ]

I have a Brother laser printer HL 1030 and I use Windows XP. It has started printing with a black smudge all the way down the left hand side of the paper. Cleaning the drum has no effect - wipe off ink/powder but this has no effect. Tried new cartridge as this has solved problem in the past but...

HP 3600dn Colour Laser Printer won't print [ 2 Answers ]

Hi, I have a HP 3600dn colour laserjet printer it will print from windows image viewer and from notepad etc, but it will not print from Office. The printer comes up saying printing from Microsoft Word etc, but then just sits there. Ive checked the simple things like paper sizes etc. I can't...

Print codes for Dell Laser Printer [ 1 Answers ]

I write software and need to know the printer code to send to a Dell Laser Color printer to have it select the multipurpose tray instead of the main tray so it will print envelops from that tray. Anyone know the ascii code to accomplish this?

Laser Printer [ 2 Answers ]

I am getting to a point where I will be doing a larger amount of printing. A lot of it in black and white but some color. I have been using a Lexmark inkjet printer ( cheap walmart ) Someone suggested I buy a used laser printer ( on somewhere like ebay) and the toner cart is a lot cheaper per...

Laser Printer not Printing [ 2 Answers ]

First of All MERRY CHRISTMAS & HAPPY NEW YEAR to all.. Having problem printing on my HP 2600n Laser Jet Printer.. Tried re-connecting (USB) the printer but still no luck & it keeps on showing the OFFLINE status... Please advise...


View more questions Search