Re: Printing problem
I think I have solved this. I was using a rather aged version of tetex (1.0. something), but after some google bashing, managed to beat some version 2 rpms into working, and can now print. Can't help thinking I have some more learning to do though... Next game is gbib, but that'll be a whole new thread! Thanks for the help, Dave This message has been scanned but we cannot guarantee that it and any attachments are free from viruses or other damaging content: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
Re: Printing problem
This may be a wild goose chase for you. Someone out there may have a *much* better answer. Debug LyX: from a line command, type in lyx -dbg. This will give you the lyx debug flag definitions. Debug dvips from within LyX: In the Outputs Printers configuration section, change the printer command to dvips -d 2 This will set the debug level of dvips to 2.You can find all the debug flag definitions at http://www.tug.org/texinfohtml/dvips.html#Debug-options You may want to start out just debugging dvips. You can capture the all the debug info by starting lyx from a command line with appropriate output redirection, for example lyx -dbg 2 >debugoutput.txt 2>&1 Leave off the -dbg 2 to not start off with lyx debug. lyx >debugoutput.txt 2>&1 These command forms will redirect standard output and standard error to the file debugoutput.txt. You may want to investigate the "-u" option for dvips (http://www.tug.org/texinfohtml/dvips.html#Option-details): -u /usr/share/texmf/dvips/config/psfonts.map perhaps. Lastly, and possibly most ignorantly of me, you could add the printer definition through texconfig david wolfson wrote: Thanks for the replys. First off, I tried the 'hit the print button, not just enter' and had no luck. Would've been nice though... Going into a bit more detail then. When I hit print, the default printer is found ok, and its name is in the 'printer' box. However, when I hit the 'print' button, there's not a 'sending to print' progress bar; the menu just closes. To my mind this means it's not spooling (NB it's a network printer on another machine running CUPS, but works fine from other apps). The 'output, printer' section of the 'preferences' menu also displays the correct name for the default printer. Adapt output is checked, and the printer command is 'dvips'. The options look reasonable compared to those from the dvips man page (I'll list them below). The only difference is the the spool command is 'lp' rather than 'lpr', but either of these options work from the command line, and neither option works when I change them. One thing I have spotted is the a warning from dvips when I print from the command line: $ dvips -f test.dvi -P HP2300 dvips: warning: no config file for `HP2300' This is dvips(k) 5.86 Copyright 1999 Radical Eye Software (www.radicaleye.com) ' TeX output 2004.10.08:1016' -> | lpr -PHP2300 I know nothing about dvips, other than that lyx wants to use it to control print output, so I maybe need to have a look at this if it's important...? Let me know if there are any more details I can provide. Is there a way to get a debug output from lyx? Cheers, Dave prefs-output-printer options: Printer name: HP2300 adapt output: checked even pages: -B odd pages: -A Page range: -pp collated: -C Copies: -c Landscape: -t landscape Reverse: -r to file: -o to printer: -P Extra options: file extension: .ps spool prefix: -d spool command: lp paper size: -T Paper type: -t This message has been scanned but we cannot guarantee that it and any attachments are free from viruses or other damaging content: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
Re: Printing problem
Thanks for the replys. First off, I tried the 'hit the print button, not just enter' and had no luck. Would've been nice though... Going into a bit more detail then. When I hit print, the default printer is found ok, and its name is in the 'printer' box. However, when I hit the 'print' button, there's not a 'sending to print' progress bar; the menu just closes. To my mind this means it's not spooling (NB it's a network printer on another machine running CUPS, but works fine from other apps). The 'output, printer' section of the 'preferences' menu also displays the correct name for the default printer. Adapt output is checked, and the printer command is 'dvips'. The options look reasonable compared to those from the dvips man page (I'll list them below). The only difference is the the spool command is 'lp' rather than 'lpr', but either of these options work from the command line, and neither option works when I change them. One thing I have spotted is the a warning from dvips when I print from the command line: $ dvips -f test.dvi -P HP2300 dvips: warning: no config file for `HP2300' This is dvips(k) 5.86 Copyright 1999 Radical Eye Software (www.radicaleye.com) ' TeX output 2004.10.08:1016' -> | lpr -PHP2300 I know nothing about dvips, other than that lyx wants to use it to control print output, so I maybe need to have a look at this if it's important...? Let me know if there are any more details I can provide. Is there a way to get a debug output from lyx? Cheers, Dave prefs-output-printer options: Printer name: HP2300 adapt output: checked even pages: -B odd pages: -A Page range: -pp collated: -C Copies: -c Landscape: -t landscape Reverse: -r to file: -o to printer: -P Extra options: file extension: .ps spool prefix: -d spool command: lp paper size: -T Paper type: -t This message has been scanned but we cannot guarantee that it and any attachments are free from viruses or other damaging content: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
Re: Printing problem
On Thursday 07 October 2004 12:57 pm, david wolfson wrote: > I'm able to print to a .ps file, which I can then print out with an > 'lpr'. I can also export a .dvi that I can print with the 'dvips' > command. I can't print straight from lyx. > > The help pages in the lyx version I've got aren't the most helpful > (along the lines of 'well printing should be ok, and anyway, this > is a lyx help, not a printing manual!'), and as everything seems to > work independantly I'm inclined to think lyx isn't telling > dvips/lpr the right things... This may seem silly, but I've seen this as a problem for some folks in the past. In particular my office mate told me he couldn't ever get LyX to print. I was curious, so I tried it, and *his* LyX printed for *me*. It took us a while to figure out what I was doing that he wasn't... The default option on the print dialog is cancel, not print. If you just hit Enter when the dialog comes up, you cancel the dialog. You have to click on the print button at the bottom. Best regards, -- Stacy Prowell (mailto:[EMAIL PROTECTED]) ``We hold our elected officials to unreasonable standards of perfection because we give them unreasonable power over our lives.'' -- Harry Reid
Re: Printing problem
Perhaps a bit more definition of the problem. When you do File...Print with a destination of Printer, does it act as though it was normal? Is there any printer name in destination, or do you have this blank with the expectation the print will go to the default printer for your machine? Do you have the targeted printer defined as your default printer? The destination default can be checked in System Tools, Print Manager from the desktop (assuming gnome) or printconf. When you look at LyX Edit->Preferences... Outputs, Printer, is the printer command dvips? Do the command options look correct as far as comparing them to your line command that works? david wolfson wrote: I've just migrated over to linux and no have to write a PhD thesis! LyX has been recomended to me, and having used it for a couple of documents, I think I am convinced. BUT I have one real problem; I can't get it to print. I'm able to print to a .ps file, which I can then print out with an 'lpr'. I can also export a .dvi that I can print with the 'dvips' command. I can't print straight from lyx. The help pages in the lyx version I've got aren't the most helpful (along the lines of 'well printing should be ok, and anyway, this is a lyx help, not a printing manual!'), and as everything seems to work independantly I'm inclined to think lyx isn't telling dvips/lpr the right things... I'm using version 1.3.2 on redhat 9. Any ideas gratefully recieved, Dave This message has been scanned but we cannot guarantee that it and any attachments are free from viruses or other damaging content: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
Printing problem
I've just migrated over to linux and no have to write a PhD thesis! LyX has been recomended to me, and having used it for a couple of documents, I think I am convinced. BUT I have one real problem; I can't get it to print. I'm able to print to a .ps file, which I can then print out with an 'lpr'. I can also export a .dvi that I can print with the 'dvips' command. I can't print straight from lyx. The help pages in the lyx version I've got aren't the most helpful (along the lines of 'well printing should be ok, and anyway, this is a lyx help, not a printing manual!'), and as everything seems to work independantly I'm inclined to think lyx isn't telling dvips/lpr the right things... I'm using version 1.3.2 on redhat 9. Any ideas gratefully recieved, Dave This message has been scanned but we cannot guarantee that it and any attachments are free from viruses or other damaging content: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
PDF printing problem: SOLVED
The answer was in front of us all the time, but I take full responsibility for not seeing it for a couple of days. I was taking the long -- and incorrect -- route to a distributable pdf file. Instead of Viewing the pdflatex output, printing that, and running the postscript file through ps2pdf, I _should_ have used File > Export > pdflatex. Doh! When I do this, I get a pdf file on disk and acroread doesn't stumble over the blank pages between the recto page that reads, "Part ", and the blank verso page that follows it. Sometimes -- fortunately very rarely -- I get so overwhelmed with deadlines and other pressures that I can't see the forest for the trees. This was one of those occasions. And many thanks to Herbert for all his help in the background. I'll be updating my tetex to the latest TeXLive. And thanks to Juergen for suggesting the memoir class. I'm reading through the manual now to learn how to mark up the copyright page. I appreciate the help from all of you. I hope I can give back to the community with equal skill sometime soon. Thanks, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard@appl-ecosys.com http://www.appl-ecosys.com/
redhat 7.1 printing problem
Hello, I have installed a newer version of RedHat (RedHat 7.1) on my machine and my notebook. (Dell Latitude CPi D2666XT) I also installed Lyx-1.1.6fix3 on both. From my notebook I can use the Lyx printcommand (prints over my network) . But just trying to print from my "normal" machine doesn't work after telling OK for printing I get the message Error: "Unable to print Check that your parameters are correct" I started lyx from a terminal with lyx& and after this print trial there is a message in the tertminal: Converting from latex to dvi Running This is dvips(k) 5.86 Copyright 1999 Radical Eye Software (www.radicaleye.com) dvips: ! DVI file can't be opended. Can someone please help me out. yhanks in advance Jan de Ruijter
Re: Printing problem.
> I now have everything installed, but obviously not properly. When I click > View/DVI I get the message: Can not view file: Error while execution > windvi-paper us 'file.dvi' > > Windvi (SUPELEC 0.67.2) does open however, and displays the file beautifully. As described on the Lyx-Win32 web page, this error is duw to sh.exe which is called to execute any external program. As described at Cygnus sh.exe produces an internal error when forking. In the 'Problems' section you can find a way described how to fix it, i.e. how to use bash.exe instead of sh.exe. > But when I try to print to paper the type is so big that only the upper > left quarter of it fits on the page. This may be due to a wrong dpi setting for your printer and screen. Both dpi settings should be equal so far as i do know. Claus
Printing problem.
Friends, I now have everything installed, but obviously not properly. When I click View/DVI I get the message: Can not view file: Error while execution windvi-paper us 'file.dvi' Windvi (SUPELEC 0.67.2) does open however, and displays the file beautifully. But when I try to print to paper the type is so big that only the upper left quarter of it fits on the page. How can I fix this? Louis
Re: Tgif printing problem
>>From: "Luis Enrique ROCHA MIER" <[EMAIL PROTECTED]> >>To: <[EMAIL PROTECTED]> >>Subject: Tgif printing problem >>Date: Tue, 7 Nov 2000 21:51:16 +0100 >>Importance: Normal >> >> >> >>Hello, >> >>I am new user and I have a problem with Lyx. I am using the Tgif application >>to draw my figures (Export format Latex EPS). When I see the postscript file >>generated by Lyx, the figures appear, but when I try to print, nothing >>happens. However, when if I use Xfig all works well. >> >>Do you have any idea about this problem? >> >>Thanks in advance. >> >>Luis >> Looks like what happens when eps file includes forbidden commands (common with eps export from M$ applications). GStools includes an eps analyzer, you could try it, or search directly for these constructs, which must be documented in the graphicx package doc, AFAIR. -- Jean-Pierre
Tgif printing problem
Hello, I am new user and I have a problem with Lyx. I am using the Tgif application to draw my figures (Export format Latex EPS). When I see the postscript file generated by Lyx, the figures appear, but when I try to print, nothing happens. However, when if I use Xfig all works well. Do you have any idea about this problem? Thanks in advance. Luis
printing problem
Hello! I'v encountered one problem when trying to use booklet printing with Lyx. I want to print 2 A5 pages from my book on one A4 paper. When I was using psbook & psnup utility, the ouput on A4 was always shifted up & therefore cut off. Today, however, I discovered that the problem is not in psbook & psnup, but in the postscript output itself. When I use print dialog from Lyx to print to file, the command is: dvips -o "file.ps" file.dvi & which results in corrupted ps file. When using option, View Postscript in Lyx, the command is dvips -o file.ps_tmp -t a5 file.dvi which gives correct ps file that can be later manipulated with psbook & psnup. I also looked in my /etc/texmf/dvips/config.ps file and added definition for A5 format. Please, if someone can enlighten me what to change in my setup to get correct ps file after using print to file option, since using temporary files is not so convenient. I assume I have to change my lyxrc, but I do not watn to screw anything. Thanks for any info. Sincerely, Sasa p.s. Otherwise, I'm so impressed with the Lyx. Sasa Janiska Zagreb, Croatia E-mail: [EMAIL PROTECTED]
Printing problem
> "Steven" == Steven Feinstein <[EMAIL PROTECTED]> writes: Steven> Hi, Steven> I just started using LyX (v1.0.1) and I'm having a printing Steven> problem. When i print from LyX, I do not get a top margin. Steven> The text starts printing from the very edge of the paper. If Steven> I view postscript and print from the viewer (I use GV), the Steven> document prints with a top margin. The problem is almost certainly your dvips config.ps file. Check that, fix it, and your problem will be gone. The ghostview program is called with a letter paper size, so it "fixes" the problem for you and when you print, you get what you expect. ---Kayvan -- Kayvan Aghaiepour Sylvan | Proud husband of | Father to Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://www.isp.net/~kayvan || Robin Gregory (2/28/92)
Printing problem
Hi, I just started using LyX (v1.0.1) and I'm having a printing problem. When i print from LyX, I do not get a top margin. The text starts printing from the very edge of the paper. If I view postscript and print from the viewer (I use GV), the document prints with a top margin. What am I missing? Thanks, Steve Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.