I know Ghostscript can convert PDFs to JPGs, and in the case of a multi-page PDF, can rip each page to an individual JPG. But is it possible to have it rip them to one JPG, so that the pages are pasted below each other, e.g. the top half of the JPG is page 1, the bottom half is page 2? Or do I have to use another program (and can ImageMagick do this?) to combine the JPG pages into one image?
how can I rotate the pen when I rotate the screen, and I would like to share this knowledge to other people who may have the same problem I had.
I have a tablet fujitsu-siemens t5010 with installed the wacum packages by default, and the pen was working, but couldn't rotate with xsetwacom command.
In Fedora 10, most guides refer to the wacom device as "stylus" which doesn't work on Fedora 11. I run command " $ xinput list " and I found the line
"PnP Device (FUJ02e5)"id=2[XExtensionKeyboard] ^^^^^^ this is the name of the device xsetwacom command needs! ^^^^^^^
I wrote first the line with the eraser cause I suppose that even someone has different wacom model, the eraser will be easy to find by grep command ( $ xinput list | grep -i eraser ), and common in most configures.
now , the edited script I use becomes like this:
#!/bin/sh if [ $1 == 'normal' ] then xrandr -o normal xsetwacom set "PnP Device (FUJ02e5)" rotate 0
[Code].....
It would be awesome if it chat could happened automatically , simply by rotating the screen, like it happens on Vista. I'll try to find out any solution and update this post if I make it !
I wasn't able to fix it... poor Lappy ), and everything seemed to be going just swimmingly. Then, when I was testing out one of my old scripts in Octave today, it barked at me about needing epstool to print plots to file.
On FC11 64 bit with Adobe flash plugin for Linux installed, I see segfault errors from "npviewer" in /var/log/messages. The only browser I have tried yet, Firefox, has glitches every now and then. Sometimes it shows the title of a page in a tab, but the page is blank. This can even happen when I try the Google main page. Is it true that npviewer has something to do with Adobe flash? Is there a way to fix the problem? If it is caused by Adobe flash, is there a different plugin that will replace Adobe flash player?
I have apache httpd server on my Fedora 10I got 2 problems:First : I copied the web page files to its Document Root <var/www/html> & Disabled the default web page. But when I visit http:/localhost ,it shows up the list of files in <var/www/html> as if a ftp server browsed in web page. So how can I set http://localhost load my default web page index.html ?Second :I want to set up a web server on Internet through my router . I applied for DDNS account & input it into router correctly . I set virtual host in server to redirect any access from port 80 to 192.168.1.2:80 in LAN . Just for in case , I also download and running the DDNS software & installed it on PC 192.168.1.2 in LAN . My DDNS provider is oray.cn . It's a Chinese server provider . I don't think there is anything wrong with oray.cn . But if you need its information just visit oray.cn (Google can translate it for you). So I want to know did I miss something to set up a web server in this kind of situation
I've noticed in Gnome pretty much all applications auto-rotate images when viewing, but leave the original image data intact. This may sound silly, but when I want to post pictures on, for instance, Facebook they upload as the picture was originally taken. So, if I took a picture with the camera flipped sideways it appears upright in Nautilus and the two image viewers I have installed, but when I upload the picture it appears to be flipped on its side. Does anyone know how to disable the auto-rotate when viewing feature?
I have a Canoscan LiDE 30 scanner which works fine in Linux. I haven't used it in months, and never since moving from Jaunty x86_64 to Fedora 11 x86_64. This evening I suddenly need to scan two pages to send to someone via e-mail, and the recipient is desperate to receive them. Naturally, Xsane has decided this is the moment to screw me.
The problem: I cannot figure out how to tell Xsane that the page size is 8.5 11. It insists on scanning only the left side, 3.99 x 11. I cannot find a page size anywhere in any of the buttons.
In Preview I once got it to scan the entire page, but could not figure out how to save the image to file. Subsequently I have not been able to figure out how I did it. In any event, scanning from the small main window always scans 3.99 x 11. Adjusting the scan area manually in the Preview window allows me to change the size area in the small main window to 8.5 x 11, but when I then scan from the small main window it reverts to 3.99 x 11.
I have scanned the document a hundred times at least, each time trying different buttons, but nothing has succeeded in getting the full page.
Compiling ghostscript (9.01 or older) on a SUSE-11.3 does not include the x11 devices.gs -h does not show x11, x11alpa, x11mono, etc.Compiling on an old SLES-9.3 all x11 devices are included.On the old SLES-9.3 there is a library /usr/X11R6 with subdirs lib and include.Apparently including x11 devices depends on the libraries in /usr/X11R6.Question 1: how do I compile ghostscript on suse-11.3 with x11 devices included? The option --with-x does Question 2: where can I get the appropriate /usr/X11R6 for SUSE-11.3?
Similarly to this question:Convert a PDF to greyscale on the command line in FLOSS?I have a PDF-document and want to convert it to pure black and white. So I want to discard halftones. To convert to grayscale with ghostscript I can use this command:
I'm trying to get GS to print to network Windows printer, but somehow fail to do so . I managed to print through CUPS to that printer but if I use GS with -sDEVICE=cups nothing happens, nothing is printed, CUPS logs remain unchanged... I also found command using smbclient (gs ... | smbclient //machine/printer -U user ... -c 'printmode graphics;print-') but that one fails with "session setup failed: NT_STATUS_REQUEST_NOT_ACCEPTED" Here is why I need it, so maybe you know better way: We need to print thousands of PDF files in one print job (to prevent anybody else to send something else in while we are printing this). I was trying to develop small C program using GS API to achieve this but somehow I fail on something as trivial as print something on shared network printer.
im using cups filter 'texttops', to generate postscript file, then I;m using ghostscript to create pdf file. The problem is, that file generated from texttops don't contain landscape orientation instructions. How can I force ghostscript to do that. Here is the command Im using:
I have to send a FAX (as some recipients are about 20 years behind the times). Sometimes the document looks excellent on the screen, but what comes out the other end looks terrible. So I'm trying to come up with a way to produce the best quality FAX from a vector PDF (which is searchable with images and text). Part of the goal is to preview the fax in advance, so there are no surprises. I start by converting the vector PDF to a raster (bitmap) postscript document:
I've spent hours trying to scan + shrink a multipage PDF documentlosing readability. This is the first time I've ever needed to do this! (I had to scan each page as ".jpg" in order to email and open on another computer, so I could not scan to PDF directly, which I think is why each page was so large; lower DPIs made the text too blurry.)I found this great tip on UbuntuGeek...but anyone can do this if GhostScript is installed:
After upgrade to ghostscript 9.02 from current all print jobs fail with: 'There is a missing print filter for printer HP_F2480'
The printer is an All-inone deskjet F2480 and the cups printer queue has been setup with the hplip tools. Before the upgrade it was 'working' with quite a few bugs...eg image not printed correct, multipage printing garbage. (page for page printing was the workaround)
Do I need to remove the printer and define it again?
i am able to try ubuntu and everything works fine until i try to install. the menu comes up to the first page where it tells you to plug in your machine and make sure there is enough disk space and network connectivity. when i hit next on this page the mouse icon changes but the next page never loads. the longest i let it hang there was 2 hours. ive tried multiple times with the same result.
im running from a flash drive on an ASUS Eee PC 1001P-PU17
What is my problem? I have a page (one page - text an graphic) to print. When I sent it to my printer it prints OK. When I sent it agian, the output is totally garbled. When I sent it again (a third time) it is OK. Sent it again (4th time) it is garbled. Sent it again ... you get the picture ;-). Alternating good and bad pages.
What is my setup? I run Fedora 14 with Cups 1.4.6. The printer is a HP Deskjet 940C. It is connected to a linksys wireless print server. It is configured in CUPS to use ipp printing. The driver I use in Cups is 'CUPS+Gutenprint v5.2.6 Simplified (color, 2-sided printing)'.
10.04; 64 bit In Firefox, the size of the fonts varies greatly from site to site. Some are too small to read, others huge. Some headings and menus overlap.Screen size: 1152 x 864
My settings are: Proportional: serif 14 Serif: Times New Roman Sans serif: Arial Monospace: Courier New 14
All has been fine with my emails but today morning when i tried to log on I got an error message "You must be logged in to access this page, go to logon page" I dont understand why even when i supply my correct user name and password.
wanted to know if i can execute commands on linux console through a web page and redirect it back to my web page !For example :if i send a query "ls"it should execute this command on my linux console and also redirect the list of the files to the web page from which i give the command !
I want to combine 4 ps(or pdf) page to single page and for this i have try a2ps command as:
a2ps -4 1.ps 2.ps 3.ps 4.ps -o outfile.ps
Event through it divide the page into four section. But only give one output of my four input. other three section is blank. Is i am doing some wrong or Is their any other command to do so.
When I boot slackware, I have all the boot process that run but too fast. I don't have time to read what's running. Is there a way to to go page by page. I didn't find any key in my keyboard to stop and go.
I have one Dell Ultrasharp U3011 (30", 2560x1600) and one Dell Ultrasharp 2007FP (20", 1600x1200)
When the 2007FP is in landscape mode it matches nearly perfectly in height both pixel and physically wise to the U3011.
See my example picture from my Win 7 dual boot below:
Two Monitors? Ridiculous... by mattlach, on Flickr
The only way I was able to get this to work in Ubuntu was to run two separate X desktops and rotate the 2007FP manually in xorg.conf, and then join them by enabling Xinerama.
Two problems with this solution.
1.) Xinerama is deprecated in favor of Xrandr which I have not been able to make do this.
2.) When using Xinerama Compiz/XGL is disabled, making the desktop feel awfully flat.
Is there any way to avoid this? Is there any way to rotate just one of your displays and maintain Compiz/XGL functionality?
I have a problem with the logrotate of auth.log, it is not working. I tried using 'kill -HUP `cat /var/run/sshd.pid`'. This restarts sshd but does not create a new auth.log. Also tried "/etc/etc/init.d/ssh restart" and "/etc/init.d/ssh reload"
I've recently enabled the fun stuff with compiz but I've run into a sort of problem... I want 9 desktops in a 3x3 grid (yeah, weird I know) but if I'm using the cube I can only rotate left and right... which is pretty weak sauce. Is there any way to (preferred) have desktops on the top and bottom of the cube and be able to bind a key combo to rotate up and down (ctrl-alt-up/down)? I *could* put 9 desktops in a row, but I really don't like that solution - it takes too many flips to make it from one desktop to another.
Compiz is all full of beautiful (especially burning the windows on close)