![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
| Under Linux you'd look in /var/jspooler/jobs/formqueue_n and find files named by their job number. These are simple text files and you could copy somewhere and do whatever with them. I'm sure NT has something just as simple and easy to deal with. :-) |
|
I don't know, what is FIS? Whoops typo. "FS(filename itemname" is a standard Pick Editor command that can be used to copy items. On second thought this one definitely would NOT work for the use I intend to put it to. You could set up another FORMQUEUE with a printer device of PROG myscript where myscript would take whatever was thrown at it and write one copy to a directory of your choice and then print another copy to the printer you would normally use. This might be the solution we have to go with. However that means all the printing of items we want to copy could only be done to one printer, because I have no intention of creating 20 phantom printers. If the print job is created by a Basic program it would be easier to just modify the program to send a copy off for processing and print another copy. It is a Basic program, however it's one provided by a 3rd party vendor. If we change it we would have to compare every update they send us to our version and reinsert our printer code if there is a change. We're trying to avoid doing that, because if we forget just once we lose our copies. If it comes from a jQL statement you my want to play with the pseudo printer idea. Playing with records in the spooler directory might be considered bad form in some shops, so make sure no one is looking if you go that way. |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
jspcmds COPYDELETE dosfilename.txt 5 |
|
On Release 13 or 15 you should use: SP-EDIT entry# (I then you will be prompted for Filename and Itemname. So in a program your code would look like: DATA "WORKFILE TEST" EXECUTE "SP-EDIT ":HOLD.ENTRY.NO:" (I" -- Posted via http://dbforums.com |
#5
| |||
| |||
|
|
as a footnote to this.. jBase has a little documented command called jspcmds... eg you can do jspcmds COPYDELETE dosfilename.txt 5 (where 5 is the print job no and dosfilename.txt can be any dos/unix filename).. Check out the jbase knowledgebase (www.jbase.com) for further details.. regards Simon |
#6
| |||
| |||
|
|
Originally posted by Simon Verona as a footnote to this.. jBase has a little documented command called jspcmds... eg you can do jspcmds COPYDELETE dosfilename.txt 5 (where 5 is the print job no and dosfilename.txt can be any dos/unix filename).. Check out the jbase knowledgebase (www.jbase.com) for further details.. regards Simon "Little documented" is right! I used the jBase search function and only found notes about the patches for this command, but not the actual usage of it. I then tried the Knowledgebase Main Index, looked under SPOOLER and it doesn't mention the command at all. Is there a hard copy jBase manual that is worth getting that would include this command? (I prefer hard copy because I can scribble additional information on the pages, for example in my Pick Pocket Guide in the blank "Notes" pages provided in the back I list the pages on which to find User Exits, Date Conversions, Money Conversions, Time Conversions etc.) -- Posted via http://dbforums.com |
![]() |
| Thread Tools | |
| Display Modes | |
| |