wedgetail:
Have started up on of my KDE-mini systems, this is a Platform Version 4.6.5 opening KWrite and finding my Print - KWrite window, on this system it is slightly different as I have about 15 printers installed (wild guess) but at the end of the list I have Print to File (PDF) and Print to File (Postscript) the window is very similar looking to what I have described already.
A difference is that the Output file: is no longer grayed out, with the default full path file name /home/gert/Documents/Untitled.pdf.
When I open kwrite, all my printer options are listed, like yours, and I also have the output going to the same place - documents, however, mine IS grayed out. This is so even after changing the default output location in the config file (prior post of mine).
ghostscript on its own is able to do postscript and pdf files ( well it is on my KDE-mini system ). There may not be any need for the back-end cups-pdf. I think it goes like this, printing from an application in linux natively end up giving you a Postscript file, broadly speeking you can always print to a file in PCLinuxOS, actually to two formats .ps and .pdf ie that is with no physical printer installed. Getting a bit carried away here I think.
A quick test: Open KWrite, an empty file is fine, then print the empty file, and tell me exactly how many printer options do you have? You should have the two -V40 queues, Cups-PDF and another two?
I have v40 with 2 diff drivers, cups-pdf, fax (v40 I set up...not sure if needed to run fax?), print to pdf and print to ps.
I installed cups-pdf because I installed all the cups that looked like they were needed. Do I need? As I said previously, I lost my "print to file" option when printing, and got it back with:
Add the CUPS-PDF virtual printer:
Make sure cups-pdf is installed. (In Synaptic)
1. Open Firefox an go to http://localhost:631/.
2. Choose Administration. (add root and root password) when asked
3. Choose Add Printer, Click Continue.
4. Select Local Printer: CUPS-PDF (Virtual PDF Printer) and click Continue.
5. Name the Printer and location and Click Continue.
6. Select Generic as the Make and Click Continue.
7. Select Generic CUPS-PDF-Printer (en) as the Model
8. Click Add Printer
9. The PDF files you create will go either on Desktop or in your home folder.1.. You probably use Firefox as your browser, is that correct. ? Yes, I use FF as my main browser.
2.. Usinf FF print the homepage to both a pdf and ps file. If you meant cups-pdf, it only prints pdf. I do have the printing option "print to file" where I the default is pdf, but I can change to ps. I did the cups-pdf and "print to file" (both pdf and ps)
3.. Check that there are a significant difference in file size, approx 3.2 MB pdf and 5.6 MB ps Yes, there is that same difference between pdf and ps
4.. Inspect both files in okular, I get 10 pages, carefully note if there is any visual blemishes, they should be 'perfect' All of them are perfect. One oddity: I saw where you can check off as an option to add background color and/or images to printing. I tested this out, also. Did not work for any of them. Never got that background blue color or background images.
Funny thing. How come when I print out on computer with cups driver v40, I only get the grayscale option, but when I save to pdf in cups-pdf, I get color?
Quote
.....I next tried a color webpage. I went to pclinuxos.com like you suggested earlier, and I printed 1 page only on both drivers. ...
I just want to make very sure I understand, did you print from Okular, or directly from FF? And the results are as you describe? That is: Gutenprint almost complete but acceptable and Cups result not acceptable ?
Directly from FF, with gutenprint almost complete and cups not acceptable.
The next part I separately did gutenprint driver and cups driver. Went through the whole thing, then did the other.
Opened kwrite and wrote this:
I am going to make a simple text file that has more than 80 characters in length so that I can test landscape.
Saved as abxy.txt. Turned off printer. (with the following, of course using my HP Officejet v40 printer)
Keep power off printers
Open file abxy.txt in kwrite
Print the file abxy.txt to your Epson but first in properties just check it is set to portrait then print.
Print the file abxy.txt to your Epson but first in properties set to landscape then print.
I need to check on you here, so in konsole post result
Quote
ls -l /var/spool/cups/ |grep d
Results:
Gutenprint:
[root@localhost kevin]# ls -l /var/spool/cups/ |grep d
-rw-r----- 1 root sys 13856 Aug 26 08:32 d00133-001
-rw-r----- 1 root sys 13856 Aug 26 08:32 d00134-001
drwxrwx--T 2 root sys 40 Aug 26 08:23 tmp/
Cups:
[root@localhost kevin]# ls -l /var/spool/cups/ |grep d
-rw-r----- 1 root sys 13856 Aug 26 09:22 d00137-001
-rw-r----- 1 root sys 13856 Aug 26 09:22 d00138-001
drwxrwx--T 2 root sys 80 Aug 26 09:22 tmp/
To be very sure in konsole now do the head -3 xxxx, post result as safeguard in case something now goes wrong, I will not need to come back and ask for them.
Gutenprint:
[root@localhost kevin]# head -3 /var/spool/cups/d00133-001
%PDF-1.4
1 0 obj
<<
[root@localhost kevin]# head -3 /var/spool/cups/d00134-001
%PDF-1.4
1 0 obj
<<
Cups:
[root@localhost kevin]# head -3 /var/spool/cups/d00137-001
%PDF-1.4
1 0 obj
<<
[root@localhost kevin]# head -3 /var/spool/cups/d00138-001
%PDF-1.4
1 0 obj
<<
Opened all 4 files, ALL were fine.
Quote
cupsdisable Epson_Stylus_NX515
Now
Apply power to your Epson printer
I hope the printer just 'warms up' ready to print, if the CUPS queue is not disabled it will probably print or lock up.
I would really like the following from root konsole
Quote
/usr/lib/cups/backend/usb
Gutenprint:
[root@localhost kevin]# /usr/lib/cups/backend/usb
DEBUG: list_devices_libusb
DEBUG: usb_find_busses=6
DEBUG: usb_find_devices=17
direct usb://HP/OfficeJet%20V40?serial=MY24GD43HNWN "HP OfficeJet V40" "HP OfficeJet V40" "MFG:Hewlett-Packard;MDL:OfficeJet V40;CMD:MLC,PCL,PML;CLASS:PRINTER;DESCRIPTION:Hewlett-Packard OfficeJet V Series;1284.3M:f7f,f7f;1284.4DL:4d,4e,1;SERN:MY24GD43HNWN;VSTATUS:$HB0$NC0,ff,DN,IDLE,CUT,K1,C0,SM,NR,KP000,CP002;AiO:0;DW-PCL;" ""
Cups:
[root@localhost kevin]# /usr/lib/cups/backend/usb
DEBUG: list_devices_libusb
DEBUG: usb_find_busses=6
DEBUG: usb_find_devices=17
direct usb://HP/OfficeJet%20V40?serial=MY24GD43HNWN "HP OfficeJet V40" "HP OfficeJet V40" "MFG:Hewlett-Packard;MDL:OfficeJet V40;CMD:MLC,PCL,PML;CLASS:PRINTER;DESCRIPTION:Hewlett-Packard OfficeJet V Series;1284.3M:f7f,f7f;1284.4DL:4d,4e,1;SERN:MY24GD43HNWN;VSTATUS:$HB0$NC0,ff,DN,IDLE,CUT,K1,C0,SM,NR,KP000,CP002;AiO:0;DW-PCL;" ""
I then enabled Cups.
Results from printout on computer:
Gutenprint:
Portrait: printed in a few seconds. The "I" was missing on first line and the l in length on the second. The footer was missing.
Landscape: The words "so that I can test" were missing on the right side after length. Top half of the header was missing. Had a little of the footer. Funny thing, took FOUR minutes to print. Was very slow...no hesitation.
Cups:
Portrait: printed in a few seconds. Same as gutenprint: the "I" was missing on first line and the l in length on the second. The footer was missing.
Landscape: "...80 characters in length s s in l
landscape"
That's what it looked like. The ...was all okay up to the s after length. The l was the right margin, and landscape was the second line to the left. Unlike the gutenprint, this printed in 26 seconds. This also had part of the foot just like gutenprint.