11-28-2012
Missing space runs two path arguments to pdf2ps into one invalid path?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all:
I'm trying to resolve a print issue in HPUX.
Background:
An ascii report file was being produced by a program. It was being sent to the printer via internal commands, to wit:
let #send_status = 0
let $send_cmd = 'lp -d lp03 /ps/tmp/edsprint/eds*.N.LIS'
call... (4 Replies)
Discussion started by: abNORMal
4 Replies
2. UNIX for Dummies Questions & Answers
hi - go easy on me, i'm new to UNIX...
i need to resample huge pdf files and make them smaller.
distiller won't resize existing pdf files.
i thought i could print the pdf to a postscript file and then resample that. would that work?
if so, how?
is this the best way forward or should... (1 Reply)
Discussion started by: jono2000
1 Replies
3. UNIX for Dummies Questions & Answers
Sometimes,I open a pdf file with ghostview and it works well. But when I open the file below, the error message comes out:
/****message begin****/
bash-2.03$ bash-2.03$ ghostview TexBook_chinese_ver.pdf
information提示框
Error: /typecheckAFPL Ghostscript 8.14: Unrecoverable error, exit code 1... (1 Reply)
Discussion started by: new_hand
1 Replies
4. UNIX for Dummies Questions & Answers
:confused:
We have a Sco Open Unix 5.0.5 Server that I am trying to configure to allow for PDF creation. Currently the server is just using lpr to print to laser printers located throughout the facility. The goal is to be able to also print to pdf documents. There is no option for... (2 Replies)
Discussion started by: pabloescobar
2 Replies
5. Shell Programming and Scripting
Hello,
Just a rather long query regarding printing to PDF.
I have installed the Cups-PDF printing system which enables me to send a normal text file and create a PDF of it. I then use the pdftk to merge that file with a template.
My question is, that I have a database system that will need... (2 Replies)
Discussion started by: stuaz
2 Replies
6. UNIX for Dummies Questions & Answers
Hi. I am trying to make a mirror of this free online journal:
http://www.informaworld.com/smpp/title~content=t716100758~db=all
Under the individual issues, the link location for the "Full Text PDF" does not have ".pdf" as an extension -- so when I use wget it misses the file. However clicking... (5 Replies)
Discussion started by: obo1234
5 Replies
7. Windows & DOS: Issues & Discussions
We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the... (5 Replies)
Discussion started by: rohan69
5 Replies
8. UNIX for Advanced & Expert Users
Hi All,
I was trying to create pxelinux.cfg/default file in a script that I use for creating backup of bootimage.
cat 2>${BACKUB_BOOTIMAGE_ERRINFO} >${pxelinux_cfg_file} <<EOF
prompt 1
timeout 0
display boot.msg
label restore
kernel kernel
append root=/dev/nfs... (0 Replies)
Discussion started by: Pkumar Sachin
0 Replies
9. Shell Programming and Scripting
HI All
I need help related to Pdf printing in Solaris.as I print pdf file in solaris it print garbage.how can I print pdf correctly. need help asap.
Regards (21 Replies)
Discussion started by: smazshah
21 Replies
10. Shell Programming and Scripting
Dear Friends,
I am using Ubuntu 15.10, 34 bit system. I added a Nautilus-Actions script in shell script to convert PDF files to text. There are 2 types of PDF
1. Scanned PDF -- Not OCR type -- When I convert it to text it work , but as the part it must (text file) open in gedit . But I can see... (2 Replies)
Discussion started by: anespa
2 Replies
LEARN ABOUT DEBIAN
pm_which
PM_WHICH(1p) User Contributed Perl Documentation PM_WHICH(1p)
NAME
pm_which - find installed modules
SYNOPSIS
pm_which [ options ] module(s)
Returns the path to the given module(s)
OPTIONS
-q, --quiet Just print paths
-p, --paths Just convert the module name into a relative path
-a, --all Print all paths, not just the first one found
-n, --namespace Print all modules in the given namespace
-m Only print module names, not paths
-V Show module version
-I libpath Add a path to search (like perl -I)
-d, --dump Dump paths that would be searched (@INC by default)
-h, --help Print this message
-v, --version Print version information
- Read modules from stdin, one per line
DESCRIPTION
This tool reports the locations of installed perl modules.
By default it lists the location of each specified module that would be loaded by require.
OPTION DETAILS
quiet
Under quiet mode, module names are suppressed and missing modules are not reported.
Normal output:
$ pm_which Module::One Module::Two Missing::Module
Module::One - /path/to/Module/One.pm
Module::Two - /path/to/Module/Two.pm
Missing::Module - not found
Under --quiet:
$ pm_which -q Module::One Module::Two Missing::Module
/path/to/Module/One.pm
/path/to/Module/Two.pm
paths
In "paths" mode, each module is simply converted into a relative file path. This is possible even when the module is not installed.
$ pm_which -p Missing::Module
Missing/Module.pm
all
When the "all" switch is specified, all installed modules will be reported, not just the first one. This is useful for determining when
there is a module installed in multiple locations.
$ pm_which -a MyModule
/path/to/MyModule.pm
/home/me/perl/MyModule.pm
namespace
Arguments are taken as namespaces to search under.
$ pm_which -n MyModule
MyModule - /path/to/MyModule.pm
MyModule::Foo - /path/to/MyModule/Foo.pm
MyModule::Foo::Bar - /path/to/MyModule/Foo/Bar.pm
-m
Disables printing of module paths. This is only really useful in conjunction with --namespace.
$ pm_which -nm MyModule
MyModule
MyModule::Foo
MyModule::Foo::Bar
-V
Prints the version of each module, according to ExtUtils::MakeMaker.
$ pm_which -V MyModule
MyModule - /path/to/MyModule.pm [ 1.00 ]
$ pm_which -Vnm MyModule
MyModule [ 1.00 ]
MyModule::Foo [ 0.01 ]
MyModule::Foo::Bar [ undef ]
dump
Dumps the paths that would be searched and exits. This is @INC modified by any -I switches.
$ pm_which --dump
/usr/lib/perl5/site_perl/5.8.6
/usr/lib/perl5/vendor_perl/5.8.6
...
$ pm_which -I lib --dump -I blib/lib
lib
blib/lib
/usr/lib/perl5/site_perl/5.8.6
...
version
Prints the version number of the script, plus the version and path of Module::Util that was loaded.
EXIT CODES
o 0 - Everything was OK
o 1 - Initialisation failed (bad switches?)
o 2 - Some modules were not installed
SEE ALSO
This utility comes with Module::Util.
AUTHOR
Matt Lawrence <mattlaw@cpan.org>
perl v5.14.2 2012-06-08 PM_WHICH(1p)