Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LJ 4250 doesnt chose the correct tray automaticly

Status
Not open for further replies.

peluso

Programmer
Jun 9, 2004
4
NL
I got a LJ 4250 here
and a few templates that work with different trays on printers
the templates work fine on every other printer we got, like the lj 4200, 4050, 4100 ... except on this one

i set the options in the printer to the right options (the paper type and all)
When i print the word document that is supposed to print on tray 1, it will not choose tray 1, but instead it goes to tray 2 the standaard tray

however, when i choose manually for tray 1, it prints fine


i tried different type of paper settings
i tried different drivers (i use PCL6 but tried PCL5 too)

so before i call HP i thought id ask here for any tips
 
Tell me about it. Use the pS driver and not PCL5e or 6 and it should improve. It always select tray 3 in the "tn" and will not select tray 2. I had this with both the 4250 and the 4350 as they use the same driver. Mine HP5, 4050 are fine. The 4200 and 4300 are even a bigger problem.

Never give up never give in.

There are no short cuts to anything worth doing :)
 
i tried all the drivers that where present, but no effect

i had contact with HP about it, i send them the documents that use macros to select the right trays, those documents work fine on the printers below the 4250 (so also good on the 4200), hp took a look at the documents and came to the conclusion that the documents work fine on the printesr i mentioned but dont work on the 4250, which they make the conclusion of that something changed in the drivers and that we need to rewrite or make new macros for selecting the trays
 
Have you checked for a firmware update on HP website ?

Rick Harris
SC Dept of Motor Vehicles
Network Operations
 
hi

thnx all for the replies

no i didnt check the firmware update, tho i dont think that would help

i solved the problem at the moment

actually very simple even

i recorded a macro in word, and in that recording i had my 4250 set as default printer, then i chose tray 1 as the printing trays in the PAGE SETUP in word.
stopped the recording, checked in VBE what the VBA code was for tray 1 in this document and came to the conclusion that the naming/numbering of the trays is different.

for the 4200 they use the name wdPrintUpperBin but in the 4250 tray one is 262

so i made the following Sub in my document and from that sub i made a button:

Code:
Sub bakkie1()

Dim OriginalFirstPageSetting As Long,  OriginalOtherPagesSetting As Long

 With ActiveDocument.PageSetup
   OriginalFirstPageSetting = .FirstPageTray
   OriginalOtherPagesSetting = .OtherPagesTray
    
   'Then set the trays the way you want them
   .FirstPageTray = 262
   .OtherPagesTray = 262
    
   'Print
   ActiveDocument.PrintOut

   'Return to original settings
   .FirstPageTray = OriginalFirstPageSetting
   .OtherPagesTray = OriginalOtherPagesSetting
 End With

End Sub

this works like a charm, so we will get an extra button in our template to print directly on Tray 1 when they push it

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top