Global Moderator
Internet Junkie
Gender:
Posts: 1517
6803 credits Members referred : 8
Gimme all your cookies!!!
« on: Oct 07, 2005, 06:23:54 AM »
Right, let me throw a tricky one at all of you...
I am trying to find or make a script (probably javascript) that will open a certain file and print that file on different printers. I will give you an example... The link must download and open a .pdf file and then print the front page on one printer (colour + special paper), then print the second page on another printer (colour + plain paper), and finally print the remainder of the document on a laser printer.
Sounds impossible, but I am sure that someone knows something about this or can find one...
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 7974
40801 credits Members referred : 3
« Reply #1 on: Oct 08, 2005, 01:21:23 PM »
I don't think that you can do that with javascript. You can do this only by using a vb or c++ program that runs in windows, or propably an active x component.
That is because when the user is redirected to a print page, must choose the printer settings.
On the other hand even if you could choose the settings, you should be able to detect the user's settings(printer names etc.) This is impossible to be done with javascript.