Re: dvips TeX printer driver
In article [EMAIL PROTECTED], Haines Brown wrote: On Fri, Feb 06, 2004 at 11:37:00AM -0500, Haines Brown wrote: When I migrated to debian, I lost my ability to print LaTeX files. No information is sent to the printer. The printer driver is dvips, and I assumed that it was included in the LaTeX package, for that was the case with my LaTeX installation under RedHat. Under Debian, is the driver a separate package, and if so what is it called? I would guess that what is happening is that you are running dvips and expecting seing your file coming from the printer. Well, at least in sid, when you run dvips it works as if you were using dvips -o file.ps file.dvi, so a solution could be to turn this off. Interesting. I always used dvips to create the .ps file and print it simultaneously, and you are correct that it works under woody as if the -o option were present. But the man offered no clue as to how to turn off the option which is not on to begin with (unless it is present in a dvips script somewhere). It does: dvips -o '!lpr' file.dvi But indeed the change of default behaviour did happen silently, and could be better described in the manual page, at the thop of the man file, it still reads - The program dvips takes a DVI file file[.dvi] produced by TeX (or by - some other processor such as GFtoDVI) and converts it to PostScript, - normally sending the result directly to the (laser)printer -- joostje -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dvips TeX printer driver
Am Mo, den 09.02.2004 schrieb Joost Witteveen um 12:26: In article [EMAIL PROTECTED], Haines Brown wrote: On Fri, Feb 06, 2004 at 11:37:00AM -0500, Haines Brown wrote: When I migrated to debian, I lost my ability to print LaTeX files. No information is sent to the printer. The printer driver is dvips, and I assumed that it was included in the LaTeX package, for that was the case with my LaTeX installation under RedHat. Under Debian, is the driver a separate package, and if so what is it called? I would guess that what is happening is that you are running dvips and expecting seing your file coming from the printer. Well, at least in sid, when you run dvips it works as if you were using dvips -o file.ps file.dvi, so a solution could be to turn this off. Interesting. I always used dvips to create the .ps file and print it simultaneously, and you are correct that it works under woody as if the -o option were present. But the man offered no clue as to how to turn off the option which is not on to begin with (unless it is present in a dvips script somewhere). It does: dvips -o '!lpr' file.dvi But indeed the change of default behaviour did happen silently, and could be better described in the manual page, at the thop of the man file, it still reads - The program dvips takes a DVI file file[.dvi] produced by TeX (or by - some other processor such as GFtoDVI) and converts it to PostScript, - normally sending the result directly to the (laser)printer If you don't want to print by default when invoking dvips, look into the file /etc/texmf/dvips/config.ps Lines 14--16 read as follows (on sid): % How to print, maybe with lp instead lpr, etc. If commented-out, output % will go into a file by default. % o |lpr Just uncomment the % o | lpr line by removing the % sign, and dvips will produce a ps file and send it to lpr as well. joerg -- Gib GATES keine Chance! signature.asc Description: Dies ist ein digital signierter Nachrichtenteil
Re: dvips TeX printer driver
If you don't want to print by default when invoking dvips, look into the file /etc/texmf/dvips/config.ps Lines 14--16 read as follows (on sid): % How to print, maybe with lp instead lpr, etc. If commented-out, output % will go into a file by default. % o |lpr Just uncomment the % o | lpr line by removing the % sign, and dvips will produce a ps file and send it to lpr as well. Thank you Joerg. I had finally discovered this file, and I did as you here suggest with success. Haines -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dvips TeX printer driver
[EMAIL PROTECTED] (Haines Brown) writes: [...] the dvips command now prints. I'm glad it worked. My plain text files print darker than my .ps files, and I did not see anything in info dvips to suggest one could control that, probably because this is an issue for the printer itself. But then I don't see how there is the difference in weight. Is it possible that the font your text files come out as (as rendered by the printer) is a thicker or heavier font than the font you are using in your TeX/LaTeX documents? I assume when you print plain text is comes out in some default printer font, whereas when you print postscript, I think the file contains the font information. (We're beginning to go beyond my understanding, so I could be wrong about this.) But, I do know that the default TeX/LaTeX font is computer modern (typically) and it is a pretty light font. Brian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dvips TeX printer driver
Is it possible that the font your text files come out as (as rendered by the printer) is a thicker or heavier font than the font you are using in your TeX/LaTeX documents? I assume when you print plain text is comes out in some default printer font, whereas when you print postscript, I think the file contains the font information. (We're beginning to go beyond my understanding, so I could be wrong about this.) But, I do know that the default TeX/LaTeX font is computer modern (typically) and it is a pretty light font. I think you put your finger on it. The fonts are clearly different, and I do recall that the default for LaTeX is Computer Modern. Thanks, Haines Brown -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dvips TeX printer driver
On Fri, Feb 06, 2004 at 11:37:00AM -0500, Haines Brown wrote: When I migrated to debian, I lost my ability to print LaTeX files. No information is sent to the printer. The printer driver is dvips, and I assumed that it was included in the LaTeX package, for that was the case with my LaTeX installation under RedHat. Under Debian, is the driver a separate package, and if so what is it called? I would guess that what is happening is that you are running dvips and expecting seing your file coming from the printer. Well, at least in sid, when you run dvips it works as if you were using dvips -o file.ps file.dvi, so a solution could be to turn this off. Interesting. I always used dvips to create the .ps file and print it simultaneously, and you are correct that it works under woody as if the -o option were present. But the man offered no clue as to how to turn off the option which is not on to begin with (unless it is present in a dvips script somewhere). Haines Brown -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dvips TeX printer driver
On Fri, Feb 06, 2004 at 03:37:01PM -0500, Haines Brown wrote: I went on in more detail in another reply. In short, I do have dvips installed, and it is not working. When I run dvips on a dvi file, it generate what I can only assume is a proper .ps file, but the output never gets to the printer. I can view and manipulate .ps files with ghostscript, but can't get ghostscript to print them. If you have a postscript printer you simply run: lpr name_of_file.ps Well, that was it! lpr filname.ps works fine. It seems that in my old RedHat installation, dvips did the printing as well, but not under debian. Also, my recollection is that the LaTeX manuals presume dvips will do both operations at once. Haines Brown -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dvips TeX printer driver
[EMAIL PROTECTED] (Haines Brown) writes: It seems that in my old RedHat installation, dvips did the printing as well, but not under debian. Also, my recollection is that the LaTeX manuals presume dvips will do both operations at once. I don't think redhat or debian makes any difference. It should just depend on how it is configured. Have you looked at 'texconfig dvips'? (You will probably need to run it as root.) From that menu, you can print a test page. The solution 'lpr file.ps' is just using the print command to print a ps file, it is unrelated to dvips. Have you read 'info dvips'? It says there that output from dvips can be routed to a file or printed directly. It also documents a file called config.ps that controls printing. In my config.ps (located in /usr/local/TeX/texmf/dvips/config/; note this was not a Debian installation), it has this specific comment: % How to print, maybe with lp instead lpr, etc. If commented-out, output % will go into a file by default. So, just fix that. The info page has other examples. My guess is that redhat defaults to printing and debian defaults to sending the output to a file. I hope this is helpful. Brian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dvips TeX printer driver
Brian, Thanks for your patience. I did not find info dvips particularly clear, especially since it said basic operation was to print a file. But in any case, I found /etc/texmf/dvips/config.ps, and sure enough, under debian, the o option is commented by default. I un-commented it and the dvips command now prints. My plain text files print darker than my .ps files, and I did not see anything in info dvips to suggest one could control that, probably because this is an issue for the printer itself. But then I don't see how there is the difference in weight. Haines -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dvips TeX printer driver
On Sat, Feb 07, 2004 at 11:35:37AM -0500, Haines Brown wrote: My plain text files print darker than my .ps files, and I did not see anything in info dvips to suggest one could control that, probably because this is an issue for the printer itself. But then I don't see how there is the difference in weight. You can convert them to ps using any number of programs. Then they should print just the same. Enscript is one such program, but there should be others as well. apt-cache show enscript: Package: enscript Description: Converts ASCII text to Postscript, HTML, RTF or Pretty-Print Enscript converts ASCII files to PostScript, HTML, RTF or Pretty-Print and stores generated output to a file or sends it directly to the printer. Hope that helps, Bijan -- Bijan Soleymani [EMAIL PROTECTED] http://www.crasseux.com signature.asc Description: Digital signature
dvips TeX printer driver
When I migrated to debian, I lost my ability to print LaTeX files. No information is sent to the printer. The printer driver is dvips, and I assumed that it was included in the LaTeX package, for that was the case with my LaTeX installation under RedHat. Under Debian, is the driver a separate package, and if so what is it called? Haines Brown -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dvips TeX printer driver
Haines Brown wrote: When I migrated to debian, I lost my ability to print LaTeX files. No information is sent to the printer. The printer driver is dvips, and I assumed that it was included in the LaTeX package, for that was the case with my LaTeX installation under RedHat. Under Debian, is the driver a separate package, and if so what is it called? what do you mean driver, do you mean the command you type to print a file? when you have created the dvi file from the latex source, you should just be able to type `dvips file.dvi` and it will be sent to the printer. is your printer working normally for everything else? the dvips command is part of the `tetex-bin' package; if you installed LaTeX using aptitude, i would be VERY surprised if tetex-bin was not also installed. hope that helps, cheers, Sam -- Free High School Science Texts http://savannah.nongnu.org/projects/fhsst Sam's Homepages http://fommil.homeunix.org/~samuel http://www.ma.hw.ac.uk/~samuel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dvips TeX printer driver
Am Fr, den 06.02.2004 schrieb Haines Brown um 17:37: When I migrated to debian, I lost my ability to print LaTeX files. No information is sent to the printer. The printer driver is dvips, and I assumed that it was included in the LaTeX package, for that was the case with my LaTeX installation under RedHat. Under Debian, is the driver a separate package, and if so what is it called? Most likely this is not a LaTeX problem but a general printer setup problem. Have you installed CUPS or an other printing system? joerg -- Gib GATES keine Chance! signature.asc Description: Dies ist ein digital signierter Nachrichtenteil
Re: dvips TeX printer driver
In article [EMAIL PROTECTED], Haines Brown wrote: When I migrated to debian, I lost my ability to print LaTeX files. No information is sent to the printer. The printer driver is dvips, and I assumed that it was included in the LaTeX package, for that was the case with my LaTeX installation under RedHat. Under Debian, is the driver a separate package, and if so what is it called? I'm using tetex, and it is wonderfully wel. dvips is in the tetex-bin package. I wonder why you say no information is sent to the printer. Do you have dvips installed, but is it simply not working? Can you grenerate proper .ps files, and can you see them with ghostscript (or gv, etc). Thanks, joostje -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dvips TeX printer driver
On Fri, 2004-02-06 at 17:37, Haines Brown wrote: When I migrated to debian, I lost my ability to print LaTeX files. No information is sent to the printer. The printer driver is dvips, and I assumed that it was included in the LaTeX package, for that was the case with my LaTeX installation under RedHat. Under Debian, is the driver a separate package, and if so what is it called? Haines Brown '/usr/bin/dvips' is in package 'tetex-bin'. This naming pattern should be very similar to RedHat's. -alf -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dvips TeX printer driver
On Fri, Feb 06, 2004 at 11:37:00AM -0500, Haines Brown wrote: When I migrated to debian, I lost my ability to print LaTeX files. No information is sent to the printer. The printer driver is dvips, and I assumed that it was included in the LaTeX package, for that was the case with my LaTeX installation under RedHat. Under Debian, is the driver a separate package, and if so what is it called? I would guess that what is happening is that you are running dvips and expecting seing your file coming from the printer. Well, at least in sid, when you run dvips it works as if you were using dvips -o file.ps file.dvi, so a solution could be to turn this off. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dvips TeX printer driver
Haines Brown wrote: When I migrated to debian, I lost my ability to print LaTeX files. No information is sent to the printer. The printer driver is dvips, and I assumed that it was included in the LaTeX package, for that was the case with my LaTeX installation under RedHat. Under Debian, is the driver a separate package, and if so what is it called? what do you mean driver, do you mean the command you type to print a file? when you have created the dvi file from the latex source, you should just be able to type `dvips file.dvi` and it will be sent to the printer. is your printer working normally for everything else? the dvips command is part of the `tetex-bin' package; if you installed LaTeX using aptitude, i would be VERY surprised if tetex-bin was not also installed. Thanks! I see that I have tetex-bin installed. While dvips is a command, I also saw it called a driver, and so used the term. Wrongly, apparently. My printing results are uneven. That is, from emacs, postscript print buffer works, but print buffer creates an error (offending command: 2004-02-06; error info: null). When I send a file to lpr, I get the step problem. Abiword prints OK. When I display a document in ghostview, and try to print, a dialog pops up asking for the printer name. When I try to supply it, ghostview hangs. Haines Brown -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dvips TeX printer driver
Am Fr, den 06.02.2004 schrieb Haines Brown um 17:37: When I migrated to debian, I lost my ability to print LaTeX files. No information is sent to the printer. The printer driver is dvips, and I assumed that it was included in the LaTeX package, for that was the case with my LaTeX installation under RedHat. Under Debian, is the driver a separate package, and if so what is it called? Most likely this is not a LaTeX problem but a general printer setup problem. Have you installed CUPS or an other printing system? Yes, I seem to have the tetex-bin package installed, and my printing results are erratic (see my other reply). I stayed clear of CUPS because I'm running a stand-alone work station, and it seems to open a range of hurdles to overcome. What I'm using is just the default printer system (woody). Haines Brown -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dvips TeX printer driver
In article [EMAIL PROTECTED], Haines Brown wrote: When I migrated to debian, I lost my ability to print LaTeX files. No information is sent to the printer. The printer driver is dvips, and I assumed that it was included in the LaTeX package, for that was the case with my LaTeX installation under RedHat. Under Debian, is the driver a separate package, and if so what is it called? I'm using tetex, and it is wonderfully wel. dvips is in the tetex-bin package. I wonder why you say no information is sent to the printer. Do you have dvips installed, but is it simply not working? Can you grenerate proper .ps files, and can you see them with ghostscript (or gv, etc). I went on in more detail in another reply. In short, I do have dvips installed, and it is not working. When I run dvips on a dvi file, it generate what I can only assume is a proper .ps file, but the output never gets to the printer. I can view and manipulate .ps files with ghostscript, but can't get ghostscript to print them. Haines Brown -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dvips TeX printer driver
Haines Brown wrote: I stayed clear of CUPS because I'm running a stand-alone work station, and it seems to open a range of hurdles to overcome. What I'm using is just the default printer system (woody). uuh... i thought CUPS _was_ the default printing system? try installing it... honestly you will be pleasantly surprised how easy it is to set up! once installed, if debian does not already configure it for your own printer, then point your web browser to the cupsd local configuration tool http://localhost:631/admin and you can do all kinds of configuring and setting up from there. if you need any printer config files [.ppd files] (i suspect you will not), then go here: http://linuxprinting.org once your printer is set up, try printing a PS file from the ocmmand line with `lpr file.ps` and let us know if it works. i suspect the programs which were able to print OK, were all writing raw information to the printer device, rather than through some printing system. don't be afraid of running servers like cupsd on a workstation; if you have a printer attached to a computer, the unix way will always be to treat that computer as a print server. you have no problems running an X server just for your machine, do you? ;-) When I run dvips on a dvi file, it generate what I can only assume is a proper .ps file, but the output never gets to the printer. thats normal; as Antonio Rodriquez pointed out, the package maintainer has changed the default action of the program `dvips` to output a postscript file instead of sending it to the printer. i for one welcome this change as it seemed to be the only *2ps program which printed instead of creating a PS file. i don't know how you would change the default action, however. hope that helps, cheers, Sam -- Free High School Science Texts http://savannah.nongnu.org/projects/fhsst Sam's Homepages http://fommil.homeunix.org/~samuel http://www.ma.hw.ac.uk/~samuel pgp0.pgp Description: PGP signature
Re: dvips TeX printer driver
On Fri, Feb 06, 2004 at 03:37:01PM -0500, Haines Brown wrote: I went on in more detail in another reply. In short, I do have dvips installed, and it is not working. When I run dvips on a dvi file, it generate what I can only assume is a proper .ps file, but the output never gets to the printer. I can view and manipulate .ps files with ghostscript, but can't get ghostscript to print them. If you have a postscript printer you simply run: lpr name_of_file.ps If you don't have a postscript printer you can set up some sort of filter to convert from ps to a format recognized by your printer and then send that to the printer with lpr. But in any case it is probably easier to use cups to handle this process for you (converting ps to printer format). Bijan -- Bijan Soleymani [EMAIL PROTECTED] http://www.crasseux.com signature.asc Description: Digital signature