?
Solved

Separator pages for HP printers not being referenced on print server

Posted on 2009-07-09
7
Medium Priority
?
361 Views
Last Modified: 2013-12-15
We have a Windows 2003 print server which has different customized separator pages applied to each of our network printers to change orientation, font size, and in some instances VMI. These pages worked correctly for 2+ years until 3 weeks ago. There were no updates applied from Microsoft at that time, and I have not found any changes made to the server yet. It appears that the print server is ignoring the separator pages. I've tested this using the "print /D:device [path\file]" from CMD.

If I install any of the printers to a different computer and apply the separator pages for them there, they print correctly, but that is not an acceptable solution. The Application that requires the formatting of the separator pages has many customized subroutines and hooks. Included in the code section is one of the separator page codes.

So far, I've pulled off the customized pages, replaced them, restarted the spooler service, and restarted the server itself. What could cause the server to ignore the separator pages, and how can I resolve it?
\
\H1B\L%-12345X@PJL ENTER LANGUAGE=PCL
\H1B\L&l2A
\H1B\L&l0O
\H1B\L&l1E
\H1B\L&a3L
\H1B\L(s0P
\H1B\L(s16H
\H1B\L&l4.8C
\H1B\L(s4099T

Open in new window

0
Comment
Question by:lmerch123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 9

Expert Comment

by:CyberLex
ID: 24830385
Greetings

Did you try to replace or add something that does actually print so you can see if the page is really ignored or maybe just missinterpreted by the device? I would be especially interested what the first lines of the actual printjob look like, is it just text or does it contain additional pcl commands? You could change the port of the queue to print to file and then you'll see if the separator page is really there. Can you show us that print to file attached here as .txt or at least the beginning of it containing the sep page and a couple of data lines?

The above pcl code is correct, but I would insert a reset command just after the enter language line as in the pcl tech manual.
\H1B\LE

cheers
Lex
0
 

Author Comment

by:lmerch123
ID: 24831295
Hello Cyberlex,

I have added the same printers again to the list of printing devices, and tried replacing the printers with a fresh installation of the device. The sep page still seems to be ignored. I have not tried adding a printer that was not previously installed to the print server. I will try that and a print to file when I get back to the campus later today. I'll also add the reset command to the sep page.

As I said above, installing the same printers over the network to another workstation or server directly (as they are installed on the print server) and applying the sep page locally gets the result we want, but the same page on the same printer does not work with the print server.

Thank You,
Logan
0
 
LVL 9

Accepted Solution

by:
CyberLex earned 1500 total points
ID: 24837886
Greetings

I just tried this on my 2003 server with xp client. When saving the printjob to file with the "file" server port, it does not process the separator page. I made a network trace on the server and the page gets sent to the printer tho. You might want to do that as well, it's pretty easy, install www.wireshark.org on the server, click on start, print from the client, press stop. In the list of network packages right click the first entry representing the printer's ip adress and choose "follow tcp stream". Then you can see the printjob in an text editor as it has been sent to the printer.

cjeers
Alex
0
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 

Author Comment

by:lmerch123
ID: 24840721
Cyberlex,

I've attached two file captures from wireshark. printjob_1_20090713.txt is from the 2003 print server that has the problem, printjob_2_20090713.txt is from a XP client that I applied the same sep page to. As you can see, the sep page isn't sent along with the document on the print server. Any idea how that could happen?

Thanks,
Logan
printjob-1-20090713.txt
printjob-2-20090713.txt
0
 

Author Comment

by:lmerch123
ID: 24853622
Some new information:

Somehow the print server lost the ability to load separator pages from outside the %SYSTEM% folder. Once I put the custom sep files in the system folder, it started printing according to the sep pages.

I find this strange since none of the other servers or workstations I tested had a problem with file location, but it's not the first time I've run across a "personality quirk" on a Windows machine. It's one of four identical installations, and one of two identical machines, all on the same update schedule (including firmware/BIOS version).
0
 
LVL 9

Expert Comment

by:CyberLex
ID: 24854159
Greetings

thanks for the update, I was about to give up, I coulnd't reproduce it on my 2003 server, I also had the .sep page on my 2003 server in c:\temp so guess I was far away from a solution :)

happy printing
Cheers
Lex
0
 

Author Closing Comment

by:lmerch123
ID: 31601787
Although this was not completely solved in regards to the cause, you help and insight got me to try a different approach to troubleshooting, which in the end found a workaround. Thanks
0

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
When I recently replaced my image transfer kit on my office HP color laserjet 5550dn printer, I had a slight problem.  The left bracket that holds the transfer kit got stuck in the upright locked position instead of being at a 45 degree angle facing…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question