Solved

Separator pages for HP printers not being referenced on print server

Posted on 2009-07-09
7
348 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
  • 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 500 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

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