Re: [Gimp-user] Re: Print command
Matthias Julius wrote: Patrick Shanahan [EMAIL PROTECTED] writes: Are you trying to print from a gimp image - File - Print ? If so, set the print dialogue screen to your printer via the drop down box and print direct from gimp. You do not need to worry about -C name. I have an Epson sp925photo and the print-command which gimp selects for my printer is: lp -s -desp925gp -oraw If this is *not* what you are trying to do, please explain further. Yes I am printing from the Gimp print dialog. And changing the printer in the printer setup does not affect the print command Gimp is choosing. And it is printing fine as I wrote in my original post. The only problem I have is that in the print job list every print job from Gimp has the name '(stdin)'. I would like the name of the printed file to appear there and from the lpr side this is done via the '-C' option. Now I need Gimp to insert the file name into the print command. So the print command specification in the printer setup should be something like 'lpr -C $filename' where Gimp is replacing $filename with the actual file name. BTW, I am printing through CUPS. I don't know whether CUPS' lpr differs from standard lpr. If in fact GIMP is printing via stdin, there will not be a file name associated. I suspect that you'll be out of luck as GIMP is probably not 'aware' of the file name at this point. After all, it may not even have a file name if you've just created the image. This is all speculation, thus you should likely wait to hear from someone who really knows. :) Matthias ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user -- Until later, Geoffrey ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Re: Print command
Ok, so -- there is no way to do what you want. The only way would be to implement it into the print plugin, possibly making it exapand %f on this field to the filename. On Tuesday 23 November 2004 00:23, Matthias Julius wrote: (...) Yes I am printing from the Gimp print dialog. And changing the printer in the printer setup does not affect the print command Gimp is choosing. And it is printing fine as I wrote in my original post. The only problem I have is that in the print job list every print job from Gimp has the name '(stdin)'. I would like the name of the printed file to appear there and from the lpr side this is done via the '-C' option. Now I need Gimp to insert the file name into the print command. So the print command specification in the printer setup should be something like 'lpr -C $filename' where Gimp is replacing $filename with the actual file name. BTW, I am printing through CUPS. I don't know whether CUPS' lpr differs from standard lpr. Matthias ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Re: Print command
* Matthias Julius [EMAIL PROTECTED] [11-22-04 19:18]: I know 'man lpr'. It says: -C name Sets the job name. But how can I get gimp to include the file name in the print command after the -C? Are you trying to print from a gimp image - File - Print ? If so, set the print dialogue screen to your printer via the drop down box and print direct from gimp. You do not need to worry about -C name. I have an Epson sp925photo and the print-command which gimp selects for my printer is: lp -s -desp925gp -oraw If this is *not* what you are trying to do, please explain further. -- Patrick ShanahanRegistered Linux User #207535 http://wahoo.no-ip.org@ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Re: Print command
Patrick Shanahan wrote: * Matthias Julius [EMAIL PROTECTED] [11-22-04 19:18]: I know 'man lpr'. It says: -C name Sets the job name. But how can I get gimp to include the file name in the print command after the -C? Are you trying to print from a gimp image - File - Print ? If so, set the print dialogue screen to your printer via the drop down box and print direct from gimp. You do not need to worry about -C name. I have an Epson sp925photo and the print-command which gimp selects for my printer is: lp -s -desp925gp -oraw If this is *not* what you are trying to do, please explain further. He wants to set the job name via -C: From man lpr: -C nameSets the job name. -- Until later, Geoffrey ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user