Separator pages for HP printers not being referenced on print server

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

lmerch123Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CyberLexCommented:
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
lmerch123Author Commented:
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
CyberLexCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Newly released Acronis True Image 2019

In announcing the release of the 15th Anniversary Edition of Acronis True Image 2019, the company revealed that its artificial intelligence-based anti-ransomware technology – stopped more than 200,000 ransomware attacks on 150,000 customers last year.

lmerch123Author Commented:
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
lmerch123Author Commented:
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
CyberLexCommented:
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
lmerch123Author Commented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Printers and Scanners

From novice to tech pro — start learning today.