General :: Printing Image (Created Using Montage Command) With LPR

Oct 23, 2010

I have created an image out of 2 other images using the "montage" command. I want to then print it using "lpr". I view the output from montage in XV and it looks fine however when I try to print, it prints the bottom half of the first image then the second and then the bottom half again.

E.g., imagine this:
Code:
<< end of top image
<< end of bottom image

The above is how it looks in xv however when printed, it looks like:
Code:
-------
-------
~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~
//////////////////
//////////////////
-------
-------

I really can't understand it, I've tried opening and saving the image again but it still prints as above. I don't know if montage is outputting it incorrectly or something, however it looks right on the screen!

View 3 Replies


ADVERTISEMENT

General :: Mount A Partition From Dd-created Image Of A HDD

Mar 7, 2010

I have an image of the entire disk created using dd. The disk structure follows:

The image was created using:

How would I, if it is possible, mount /dev/sda1 from the image so that I'm able to read the contents?

It's not an option to clone the HDD again, I know how to do it if I had only cloned the single partition by itself. I hope it's still possible with the current image.

View 3 Replies View Related

General :: Find Out Maximum Size Of A Image Disk File Created By Kvm-img?

May 22, 2011

I created a VM disk image with kvm-img, but I forget what was the max size of that disk image when I created it. Currently, its size is 6.2G, I want to install some large packages in that VM, so I want to make sure the disk image can expand to an adequate size.

View 1 Replies View Related

General :: Need Command To Figure Out System A File Was Created On

Jan 31, 2010

I am just starting out in LINUX and I know the basic commands but I am a having a problem. I scoped the man pages but I can't get it. Maybe one of know... Can anyone tell me the cmd to figure out the system a file was created on? I just can't figure out this problem.

View 6 Replies View Related

General :: Use Grep Command To Filter The Log Files Created Between 3:00 PM To 4:30 PM In Buch?

Dec 13, 2010

I would like to know how to use grep command to filter the log files created between 3:00 PM to 4:30 PM in buch of log for whole day in different headings. This files resembles like sar file in linux.

View 5 Replies View Related

General :: Printing A PDF From The Command Prompt Doesn't Work?

Oct 29, 2010

I have a PDF that I built using BIRT, and that works fine. At this point I'm trying to print it using lpr or some other command. It seems as though I should just be able to type lpr invoice.pdf and it should print to the default printer. However, lpstat -t shows "Empty print file!" for the printer, and the printer doesn't do anything, let alone print the file. lpr -l invoice.pdf prints the file, but unformatted - just a bunch of characters and whitespace on a seemingly infinite number of pages.

View 2 Replies View Related

General :: StartServer.sh Command Stays Printing Since The Server Is Up On Stdout

Feb 22, 2011

I have a starServer.sh command in a shell script along with a bunch of command. Th startServer.sh command prints out stuff on stdout and stays printing since the server is up. However eve though I want to start the server I want it to continue executing the commands after ./startServer.sh in the same flow.

View 4 Replies View Related

General :: Selecting A Font When Printing A Text File From The Command Line?

Jul 29, 2011

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.

View 2 Replies View Related

General :: Printing From Command Line Won't Work - Just Sits In Print Queue

Apr 3, 2011

CUPS was not originally installed on my server, I have installed it but cannot print to my network printer. On my laptop, I can... they are both running the same version of Debian. What could be missing?

Here are some details...

I have two computers running the same version of Debian. One is a server with no GUI and the other is my laptop with GDM installed. My laptop (which prints with no problem) is connected via Wifi. My server is connected directly to the router via Ethernet. I cannot print from the server.

The printer is a Canon Pixma MP495 that connects to the router via Wifi. I have downloaded drivers for the printer from [url] and installed them successfully using dpkg on both computers.

Right now I have a regular text file that I am using for a test page. To print from my laptop (with success) I type:

Code:

This does not work from the server. What could I be missing?

lpq run on server:

Code:

lpinfo readout:

Code:

View 14 Replies View Related

Red Hat :: Copy Qt Created Image Into Frame Buffer And Display?

Mar 24, 2010

I am using redhat linux4 and qt4.6. I have created an application in qt, which i want to link to frame buffer using C programme and display it onto the xserver or/and on the hawkboard.

View 1 Replies View Related

Red Hat / Fedora :: Delete The KVM Created Hard Disk Image File?

Feb 22, 2011

I want to delete the KVM created hard disk image file, so I would like to know where it is located .

View 6 Replies View Related

Server :: Initrd Image Created With Cpio Doesn't Boot The Livecd

Jul 1, 2011

Im trying to build an initrd image for my livecd using cpio -o -H newc, but the livecd can't boot. If I create the initrd image using mkfs.ext2 then it works.

View 2 Replies View Related

Debian :: Which Default File System Will Be Created On Usb Stick Using Live-helper Usb-hdd Image?

Feb 5, 2011

which default file system will be created on usb stick using live-helper usb-hdd image?

View 1 Replies View Related

Slackware :: Install GRUB Via The .txz Package And It Created A Mirrored Image Of The /boot Folder?

Jan 6, 2010

In light of my previous achievement in wireless networking, I've decided to create a larger issue for myself to solve. Which hopefully I can get some help with. Because my system is totally kisspoped up, for those of you who get what that means. I was trying to install GRUB via the .txz package and it created a mirrored image of the /boot folder. Which for some reason contained the / folder. Which in turn held /boot and all the other folders / is expected to contain.

Now, trying to remove the extra /boot folder proved difficult, but once I finally was able to figure it out, I remembered I could removepkg and that would probably mend the situation. However, I was already 20-something percent through moving the files to trash. Now when I checked /, /boot was gone from there. Along with various other folders. SO! Apparently the /tmp/boot folder created was in reality the /boot folder, albeit in the wrong place and having the wrong contents. Somehow, one folder existed as two different versions of itself at the same point in time. Much as a Time Lord might. Deleting one made the other vanish with it.

Good news:I removed it via Thunar and it should be in the root user's trash /home and some other folders had yet to be trashed when I hit cancel, so I can still use some things Bad news:I never ran X as root, so I don't know if it HAS a trash folder I can only use things already started up because the binaries are gone, but the configuration files in /home are still there (although /usr/bin remains)

Ideally, there would be a big UNDO button somewhere in this long row of function keys. Reasonably, there should be some kind of restoration tool. Realistically, I think I'm going to have to reinstall the system, which wasn't easy in the first place due to my faulty disc bay which detects discs at will.

View 6 Replies View Related

Fedora :: Printing Large Image Over Multiple Pages In GIMP

Dec 8, 2009

I have a large image that I want to print over 4 pages, each page showing 1/4 of the overall image, that I will past together. I'm doing this from GIMP on an up-to-date fc12 system. Searching around I find that there is a "scale" field in the print dialog and the lp command that cups supports and according to the documentation if I set scale to "200%" it should do what I want.However, when I set scale to 200% I get only one page with the upper left 1/4 of the page and then nothing. How do I get it to print the remaining 3 pages?

View 1 Replies View Related

General :: Cd-rom .iso Image Not Found After Dd Command

Feb 15, 2010

i was trying to install windows xp on vbox, but the cd wont work, so i want to make an iso image from the cd and run it from that. after some research, i found this code to use disk dump and make a raw cd image:

Code:

dd if=/dev/cdrom of=~/cdrom_image.iso

ive done that successfully (making sure the drive is unmounted), but i cant even find the file now. ive searched the filesystem, but it doesnt appear anywhere.

View 1 Replies View Related

General :: Image Pen Drive Using Dd Command?

Jun 16, 2010

i want to image my pen drive using dd command. i tried

dd if=/media/disk of=/media/disk-1/images.img

where disk is my pen drive and disk-1 is my hard disk. I boot and run the pc using linux bootable cd

View 3 Replies View Related

General :: Command To Use To Explore Iso Image File?

Nov 1, 2010

I have used to knoppix to grab an image off a pc to my external hard drive.I then used the command dd if=/sdc1/backup.iso of sda2 bs=4096 conv=notrunc,noerror to another pc I was cloning.This process failed and the hard drive was not seen after that even using fstab.Is there any way I can verify if the iso image i grabbed is good.What command can i use to explore this iso image?

View 3 Replies View Related

General :: Mkisofs Command - Booting From ISO Image

Jan 28, 2010

I have created an iso image from a RHEL5.4 disc using mkisofs.
mkisofs -A "Red Hat Linux 5.4" -V "Red Hat Linux 5.4" -v -U -J -R -T
-b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot
-boot-load-size 4 -boot-info-table -o /tmp/RHEL54-x86_64-dvd.iso .

It creates the iso image no problem, however when I go to boot a new server from the disc I get the boot prompt, hit enter, answer the language and keyboard questions and then it throws the following error:
"The Red Hat Enterprise Linux Server CD was not found in any of your CDROM drives. Please insert the Red Hat Enterprise Linux Server CD and press OK to retry".
Perhaps I need to specify in my mkisofs command that its supposed to be iso9660? This is on a RHEV virtual machine.

View 3 Replies View Related

General :: Possible Too Use DD Command To Make Image File Of Blackberry 8330?

Feb 26, 2010

i was wondering if it is possible too use the DD command to make an image file of my blackberry 8330?i need it of the onboard memory and not the external memory card.

View 1 Replies View Related

General :: Printing Command Line History Without Line Numbers?

Aug 22, 2011

How can I print Linux command line history without including the line numbers? I want to send it all to a text file like this:history >> history.txt

View 1 Replies View Related

Ubuntu :: Command To Copy Files In Directory Created Within 2 Hours?

Apr 22, 2010

Is there a simple command to copy files that have been created within the past 2 hours?I've been looking through the man pages for unisonrsyncfindcpand I can't find anything I'm looking for.All I need is a simple command.Code:Copy folder a to b if created < 2 hours.

View 4 Replies View Related

Slackware :: Can't Print - "Unable To Open Image File For Printing!"

Jan 18, 2011

Since slackware 13.0 (upgraded to 13.1), I haven't been able to print anything. I can add printers no problem using the cups gui (or whatever). However any print I send to any printer fails because of:

"Unable to open image file for printing!"

I can post the whole error log if that helps, but I can't see much in it. I haven't been able to print for about 6 months, which is getting a bit annoying.

p.s, as a I lazy option I upgraded to the cups in -current, but that didn't help (although I don't think it was a very different version).

View 7 Replies View Related

General :: Partitioning - Difference Between File System Created By Fdisk And File System Created By Mkfs?

Aug 1, 2011

I'm a little bit confused with partitioning the filesystem in Linux. the difference between creating the file system with fdisk and mkfs (when formatting the disk). I can't clearly tell my problem, so please look at this picture:

View 2 Replies View Related

Ubuntu Networking :: Printing Documents Via The Command Line?

Dec 2, 2010

how to send a document to print on a network printer (via IP address) from the command line (not a GUI interface).

View 4 Replies View Related

Software :: Printing To Cups-pdf Via Command Line With Options?

Jun 30, 2011

I'm having a hard time trying to print documents to PDF via cups-pdf at the command line and get all of the nice formatting options that the GUI print spooler dialogs provide. I know how to do "lpr -P Generic-CUPS-PDF-Printer filename" to get a general file printed to a PDF, but this method clearly is missing all of the nice formattingptions that get passed when using a GUI print spooler (margins, fonts, dpi, paper size, etc..). I tried to use ps to capture whatever command is being sent by the spooler but couldn't figure it out, since I'm not really sure what commands get called by the spooler

View 8 Replies View Related

Ubuntu :: Created A "bkl-thumbnail" Home Dir And Has Been Caching Image Thumbnail

Oct 5, 2010

I have this bkl-orbiter daemon running for something that apparently needs it (wacom drivers maybe).

It created a "bkl-thumbnail" home dir and has been caching image thumbnails.

Any way to keep it from doing that? Or find out why it's doing it?

View 4 Replies View Related

Hardware :: Continuos Printing - Stop Ejecting The Paper After Printing Over?

Jul 28, 2010

We developed qt based application in linux. I wish to stop ejecting the paper after printing over.How to do it.

View 2 Replies View Related

Ubuntu :: Printing With Exact Size Photos And With Poor Auto Colour Printing But The Situation Remains Unchanged

May 31, 2010

I expected more from ubuntu 10.4 with regards to printing with exact size photos and with poor auto colour printing but the situation remains unchanged! for instance .. the photo size configurations for ubuntu/fspot/gimp and others are not compatible with my printers (HP and Brother) .. here in Europe a typical standard size photo (10x15inches or 150x100mm are not even on the Ubuntu listing? I have tried all listed possibilities including "custom" (which does not seem to ever work correctly?)and the result at best is photos with uneven boarders or at worse my printer goes a bit crazy with much wasted photo paper and expensive ink ...even photos selected for "no boarders" still produces photos with the self same uneven boarders.

I have tried pretty much everything over time following advice in this forum and including using HPlip and updating drivers required for my Brother printer but the root problem seemingly lies with the Ubunto photo size setup listing. Working with Ubuntu over the years I have found that it can do pretty much everything that Windows can do except for this dam ongoing photo quality and configuration problem.

View 9 Replies View Related

Debian :: Use Output From Command In Image Viewer

Jun 4, 2011

I want an image viewer to show the images in a directory in a random order. For that, I made the following script:

cd /home/DIRECTORY
ls > files
sort -R files
cat files | gpicview

Everything looks fine, but gpicview doesn't open the images! I also tried it with pqiv but instead of just opening the images, it opens a dialog asking me which of the files I want to open.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved