Slackware :: Not Getting Proper Printing In 13.37 - Prints Out Text Of Postscript
May 22, 2011
I have Brother HL2250N. This worked out of the box with 13.0 using the Brother drivers. I also have a Brother MFC-7820N which works fine in 13.0 and 13.37. In 13.37 the testpage from CUPS prints fine. However when I try to print anything from kate or libreoffice I just get pages and pages of text starting with
I assume this the post script file that is printing out. How do I get this to print properly?
I use a Dual core desktop PC with Ubuntu 10.10. A hp-laser- jet 4250 printer is connected to it. I am getting able to print all files except .ps and .eps files. When I send a .ps or .eps file for printing, no job is actually reaching to printer.
Apologies if this was asked before -- I have googled the last bytes out of my Firefox but fail to find anything helpful. Here's my problem:I have a foomatic hpijs cups-driver for a HP Inkjet (Non-PS printer) installed. Printing from UNIX-hosts works. I have cups configured not to allow raw-printing (/etc/cups/mime.types: #application/octet-stream, /etc/cups/mime.convs: #application/octet-stream).I have now installed samba-printing, the cups PS-drivers plus the Windows PS-drivers are populated to /etc/samba/drivers/W32X86/ and get pushed to the WIN-Client.Problem is that when I print from a WINXP client, the printer outputs heaps of Postscript-text instead of my page.I have tried to debug this a bit but fail to find anything really useful. My observations so far:
- The samba-pushed HP_Photosmart_3300.ppd (in both /etc/samba/drivers/... and in the resulting dir on the WINXP client) reads: *cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip"
To convert a text file to postscript format is easy with groff:groff -Tps file >file.ps But what if the input file is utf-8 (with non English characters in it)? How can you specify the encoding to groff or do you have to pipe the file through some other command?
I made a BIG mistake and tried to print a PDF document from Evince 2.28.2. Evince sends a garbage filled print job to the queue that results in nothing but garbage being printed. I noted the problem an tried to kill the print job but could not because it does not show up in the print queue. It appears that the printer sent an error back to the print system and the print system now continues to print the job forever - that is, anytime openSUSE is running, even after reboots.
Note that printing the test page works and that the printer also works fine with gedit and OpenOffice.
If I go to Control Center -> Printing then right click on the icon for the printer and click View Print Queue, the print queue is empty.
In YaST Control Center -> Printer -> Policies the "Specify error policy" is set to "abort and delete the job and proceed with the next job." The "Apply this error policy to all local printer configurations" checkbox was checked when this policy was set. If this is what should have ultimately killed the job it did not work.
how to stop the print system from trying to print this garbaged print job. It has been trying to print the same garbaged print job for the last five days!
im trying to output a list of running processes via a shell script. At the moment i got this which outputs the processes to a text file called out.
echo $(ps aux) >>out
The problem is though, the processes are all just one big block of text which makes it hard to read. Does anyone know how to sort the output to a text file so that it prints to the text file at 1 process per line? I know its probably simple but im very new to linux.
I have an older version of ggv on RHEL for viewing PostScript (.ps) files, but the binary I have refuses to open files from AFS. ggv-2.12.0 is able to open these files from AFS just fine on my Mac. I was not able to find packaged binaries for RHEL 5 or 6 for ggv-2.12.0, so I downloaded the source and compiled it. Unfortunately, it fails to start, printing these error messages:
Does anyone know the fix? Or alternatively, is there another good and well-maintained PostScript viewer for Linux?
We are having zebra card printing software, which we have drivers. Recently we encounter the printer solution software company is closed. Their registered keys are not working. Now we download new driver which are working fine. But no proper software to print the cards. Some paid or open source windows or linux base card printing software. The card is regular card like atm, credit card, medical insurance card etc. They are actually plastic card, but no magnetic strip just printing information to be appear.
I have a script that is supposed to run after a job is sent to a printer that prints a text file to disk. It is supposed to turn that text file in to a PDF. How I do this is my making a fifo /dev device that cats the print job to lpr and then runs my script. The script works expect for 1 thing. I have to use dos2unix to remove some extra characters that shouldn't be in there. I've also tried used sed and that didn't work either.
I should say they both work from the command line, just not when used in the fifo/dev. I know there are weird things that can happen when not running a script from the command line, and maybe I'm doing this all wrong. Part of my script works fine, but dos2unix doesn't work in my script. Sed also doesn't work in my script. But a2ps works and so does ps2pdf.
I'm struggling on installing a KONICA-MINOLTA printer magicolor 4695MF printing properly with Linux Mint Debian Edition (up to date). The test page works fine...
KONICA-MINOLTA delivers 2 PPDs: one for standard printing and one for OpenOffice printing (available on the KONICA-MINOLTA support site).
Leaving a side the one for OpenOffice which is poor in using the capabilities of the printer, I concentrate only on the global one (M4695PX.ppd).
It's much more difficult for other applications, starting with EVINCE: some PDF files are printed properly (i.e. those generated in OpenOffice by the CUPS PDF printer), others come out as one only blank page, regardless to the original length of the document.
So documents received from 3rd party may be "printable" or not. And trust Murphy, the most critical aren't printed...
Attached, the troubleshooting file generated by [system-config-printer] => [URL] ...
it compares two files using md5... if they are same , a corresponding character is output to a text file .. but the problem is it gets appended by default.. is there any way to output in a normal way because the text is a message and it should be of proper format here is my script
#!/bin/bash g=`tail -1 new.txt|head -n 1` array=( a b c d e f g h i j k l m n o p q r s t u v w x y z ) for((i=1 ; i <$g+1 ; i++))
the message is supposed to be hello , i need to get rid of the endlines somehow..
I'm running a standard 13.1 32 bit install with an HP deskjet 990C, run off of USB. Until today everything has printed properly. Now nothing prints. Nothing has been installed unless it came through slackpkg, and yes it is still on the correct setting for arch and revision. CUPS shows printer as installed, accepting jobs an idle. No error messages are appearing but nothing is reaching the printer. The info I can glean is from the error logs in CUPS:
I've been using slackware since slack12.2 on a linux box as router at home with some servers running on it and it's been awesome and performs perfectly. But since I upgraded to slackware 13 there is something that drives me crazy. I use to manage the box through SSH but sometimes I have to do some configs localy and it's almost impossible because I have constant echos of some traffic the iptables is forwarding to other hosts on the network.
I am facing a peculiar issue when printing Japanese text through CUPS (though I am not sure if this is the right forum).
I developed a Java application (that uses a graphical object to print to a PrinterJob class) that prints text (of Japanese characters) to a printer. When I login in en_US/en_UK locale, the Japanese characters get printed from my Java app just fine. However, when I login in ja_JP and give a print job through my Java app, no Japanese text is printed at all. I get characters from only within the ASCII subset printed instead. I am using Serif and Courier New fonts in my app. Relevant details are:
In ja_JP, a@a:/usr/share/cups/charsets$ fc-match serif:lang=ja ttf-japanese-mincho.ttf: "Sazanami Mincho" "Regular" a@a:/usr/share/cups/charsets$ fc-match sans serif:lang=ja ttf-japanese-gothic.ttf: "VL Gothic" "regular"
FireFox 3.6.17 HPLIP 3.10.2 with HP OfficeJet J4540 connected CUPS 1.4.3
When I print from a web page, it prints 3 pages from a web page that looks like it would print more than 3 pages. It seems like only the first, second and last sections of a web page is being printed. Is there an easy fix to this?
I was wondering, is there some tool to program shortcut, say ALT+Z to otput "<%="? I got Logicech wave keyboard, and on windows it has manufactors program for programing this stuff, but under nix it is not ported, such as drivers too.
I was reading through the source code of adventure in the bsdgames package and I had noticed that most of the text is read from a file called glorkz. I'm wondering about what function/technique the author used to print from the file; I've been looking through the code for a while (particularly io.c) and I haven't been able to figure it out.
I'm doing some bash-scripting and want to be able to print some text (just plain text) files into the new bash-scripts, created within a loop. Here's a short example of what I do:
Code: # main bash script # #!/bin/bash ##Filename variable1=10 for ((j=0;j<=40;j+=1)) do ## Create another bash-script echo "#!/bin/bash" >> bash_script_$j ... some stuff... cat file1.txt >> bash_script_$j ... some more stuff... done where the text file (file1.txt) I want to print in the the new bash script looks something like:
Code: # file1.txt # ...some stuff... logsave log some_program($variable1) mv output_$j folder_$j/ ... some more stuff...
I.e, the text file contains variables such as "$j", "$variable1" etc that are undefined. Doing the above works for creating new bash scripts (bash_script_1 - bash_script_40) but the variables are not determined. I would like, if possible, to somehow print the text in file1.txt into the new bash-scripts with the variables determined, i.e:
Code: # bash_script_1 # ...some stuff... logsave log some_program(10) mv output_1 folder_1/ ... some more stuff...
The text files I read are quite extensive so I would really prefer not having to paste them into the FOR-loop directly.
I will install Slackware 13.1 on my desktop in 50 GB of disk space but I'm not sure about the proper size for the partitions "/" and "/ usr / local". I want to use most of the space for "/ home" partition, so I can keep my data when I upgrade to a newer version (right?)
On my desktop computer (now running the very impressive Slackware64 13.37 and generic kernel), I've got what Alsa considers 4 different sound devices:
Logitech USB headset Logitech QuickCam Pro 9000 with built-in microphone ATI HD48x0 audio (which uses the HDA-Intel driver) on my graphics card Intel 82801JI audio (also using HDA-Intel driver) on my motherboard
When I run alsaconf, it picks up the ATI audio only (which is fine). Later running alsamixer (or any other mixer) all 4 are visible. The issue is that I really would like the ATI audo to be in position 0. Previous to Slackware 13.37, setting up the device positions in /etc/modprobe.d/sound usually did the trick. However, that is now being ignored and one the USB devices are being put in position 0 regardless of what is in sound.conf. This is driving me nuts as a lot of software simply use the default audio device, which I would like to be my speakers, but is now my USB headset.
All of the googling I've done points towards messing with the /etc/modprobe.d/sound.conf file, but as I said, that is being ignored. Is there a more 13.37 way to have ALSA order the audio devices the way I want?
I don't understand why this is so difficult.In the old days, there was lpforms which allowed some formatting. CUPS did not see fit to implement this into it's lp package.cgi-...-cgi?lpforms+1In the old days, lpr allowed you to select a font in the command line with -1=fontname. CUPS did not see fit to implement this into it's lpr package.htmIn the old days, printers had fonts installed on them that you could access. Modern printers don't seem to have this. So now I still need to be able to select a font when I print certain text files from the command line but it seems this is impossible. I've been working with instances and lpoptions, which allows me to do a lot of other things I need like orientation and margins and even set the font size, but I still cannot choose a font other than the default.
I just received my Slackware 13.1 & the 'Official Guide to Slackware Linux' book. I know that there is a big learning curve to use Slackware and that is why I purchased it - according to Distrowatch, "...if you learn Slackware, you learn Linux!" But, while I am 'learning Linux', I would still like to have a linux distro installed that would be more of a 'no-brainer'.
So the question is, which distro should I install first, Slackware or say, OpenSuse? I know that if I were going to dual-boot with XP, that XP should be installed first - does order matter for 2 linux distros too? Also, are there any points to remember to do during the installation processes so that I end up with a working, dual-boot computer?
I have an odd problem with a computer I just set up. It is slack64 with Alien Bob's multilib packages. When I have the gtk+2-compat package installed I can no longer see any printers in firefox. I get error messages showing that it is trying to use the 32bit gtk+2 stuff. If I uninstall the gtk+2-compat package the printers show up as they should in firefox. I do not have this problem on my own slackware64/multilib system.
I connect my laptop to several different networks and need to print in each of them when I am connected there. In the past (ie 12.2 and earlier) I solved this by running a cups server on the laptop and having it poll the appropriate cups servers in each network.
I was thinking that perhaps in 13.0 I could bypass having the cups server on the laptop and that KDE would "see" the various cups servers available. However this does not seem to work...
I have successfully setup wireless printing with apsfilter, it has written the correct printcap file and if I print with "lpr -P lp file" it works fine, BUT, when I print with just plain old "lpr file" it goes looking for my old printer. The old printer is NOT in the printcap, so where in the heck is lpr finding this old printer name???
I have rebooted (although this is never necessary in Linux) but that made no difference either. I'm stumped.