So Extra - review by Sean DPS| Author | Post |
|---|---|
| cobalt60 Knuckle Dragger 2046 Posts 2/03 | I realize this is an obscure and esoteric problem / question, but who knows? It might be easy peasy! Say you want to print five copies of something, but you want each copy to come from a different paper tray loaded with different color paper. You press print, and one copy comes from tray 1, the second from tray 2, and so on. How? [Link] |
| Leyden Senior Member The people have spoken. I'm a nitpicking dick. Woo! 8751 Posts 1/04 | |
| ma meeshka Iconoclastic Member 3939 Posts 4/06 | |
| cobalt60 Knuckle Dragger 2046 Posts 2/03 | |
| cobalt60 Knuckle Dragger 2046 Posts 2/03 | My first thought is a macro, but it seems crude. I wonder if the magic is not somehow in the driver. Somehow the printer can be told "when you receive a print job, print each page of it to each of five paper trays". I have a suspicion that the answer lies in PCL programming, that somehow I will need to append the proper codes to achieve the preceding process flow through the print job itself. If I'm missing something simpler, though, I prefer the parsimonious solution wherever possible. |
| Jeff @ IAFD Webmaster IAFD.COM 931 Posts 6/00 | |
| Bill All-Star Member 5334 Posts 6/00 | |
| Drew Black broken crankshaft 8009 Posts 9/99 | |
| cobalt60 Knuckle Dragger 2046 Posts 2/03 | Bill: agreed. They only want NCR on the second page, though. They want regular paper, then 2-part NCR, followed by regular paper. At least, that's the most cost-effective. That pre-collated NCR gets pricey, quick. Right now, they print on tractor-feed multi-part pre-printed forms with carbon pages in between and it's around 0.11 per page. Some of this other paper is double to quadruple that per order printed. I have told them time and again that they need to type the notes in the NOTES FIELDS so that they PRINT on the FORM, and they wouldn't need NCR at all, to no avail. They want to be able to write on them, and it to come through to the second copy (but not the rest). I can only suggest so far. When I'm told "this is how we're going to do it no matter what you say, computer boy", then I shrug my shoulders and walk away. Drew: no, I haven't checked MSDN yet. I've never tried to hack a custom print driver before, so it should be interesting. I'll let you know what I come up with. Thanks for putting a brain cell on this with me, folks. I appreciate the comments so far. |
| Drew Black broken crankshaft 8009 Posts 9/99 | The printer drivers expose their properties through an abstracted Printer namespace. I doubt you'll have to write PCL code to accomplish your task. I do think you might have to issue multiple print jobs, one for each tray. I think the papersource needs to be set prior to sending the data for the document to the spooler. I don't think you can change paper sources mid document. It might have something to do with error reporting. It won't know which page/bin to reprint in the event of a jam or empty bin. |
| cobalt60 Knuckle Dragger 2046 Posts 2/03 | But no, unfortunately, it's closed source compiled code and so I will only be able to manipulate the print job after the fact. I'm favoring creating a "file" printer object to accept the initial print job, then a simple loop to replicate the job four times, each time doing like you indicated and setting the output tray property and appending the resulting output to itself. The final printer file could then be piped to the actual output device. I'm going to harangue the HP people Monday and see if shaking that tree yields any fruit, too. Can't hurt! |
| K Smitten Kitten Cloud 9 530 Posts 2/06 | You might also want to whip out the Windows DDK, and write your own intermediate driver. Perhaps buy a commercial driver with source, and tweak that. Is the print server running a proper OS? If it is, I'd definitely try looking into modifying the print job on there. The older PCL versions were very easy to write for. Dunno if the more recent ones have been "improved" too much. Would it be OK if all print jobs to that printer behaved this way? |
| ma meeshka Iconoclastic Member 3939 Posts 4/06 | |
| K Smitten Kitten Cloud 9 530 Posts 2/06 | |
| Hardware All-Star Member Your other left 14594 Posts 3/02 | |
| Drew Black broken crankshaft 8009 Posts 9/99 | |
| DrP0rn0 Senior Member 1836 Posts 5/04 | It was a huge waste of time to sort it, but our print volume was low, so it worked for us. Sounds like your problem is different though, as the package is sending the print job as a whole one time and one time only. PCL indeed controls the print tray and number of copies, but I'm unaware of a way to make a printer alternate trays and print multiple copies. A print server based solution would seem to be the most elegant. In a Unix or Linux based system, it should be rather straight forward (but non-trivial) to write a front end for a printer definition that will send the job five times, each printing to a different tray. Those must be some monster printers to have 5 individual trays. I found a forum posting asking a very similar question, with a link to some German software that appears to be able to do exactly what you want. Read the posting here: http://forum.soft32.com/windows/Print-multiple-copies-trays-ftopict359693.html Let us know what you come up with. Dr. P |
| cobalt60 Knuckle Dragger 2046 Posts 2/03 | |
| threesomebody Official BlowBang Judge Would you like my autograph? 2491 Posts 12/04 | |
| ma meeshka Iconoclastic Member 3939 Posts 4/06 |
but not for long... |
| DrP0rn0 Senior Member 1836 Posts 5/04 | |
| cobalt60 Knuckle Dragger 2046 Posts 2/03 | But thanks for asking! It may be a while before this thread gets updated, tho'... |
| DrP0rn0 Senior Member 1836 Posts 5/04 |
| Use the code below to link to this topic or a specific post. |
| URL of this thread |
| Link to this post with HTML |
| Link to this post with Forum Code |