How to send pcl files to printer on windows 7? [closed] - printing

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have one an application that generates ".pcl" files. Once generated they are saved on a folder on my Windows 7.
How do I send these files to the printer (either network printer or USB connected printer) for printing?

To send a PCL file to an HP printer when the version of the PCL in the file matches the capabilities of the printer you need to send the file as raw data.
RAWPRN
In earlier versions of Windows you could use Microsoft RAWPRN.EXE utility to send PostScript or PCL directly to a printer capable of interpreting it.
This utility is described in Microsoft KB138594 article.
LPR
Apparently Windows also provides a simple LPR utility.
LPR -P LaserPrinter1 "-o l" cad_drawing.pcl
Here LaserPrinter1 is the name of the printer, "-o l" indicates raw data stream and cad_drawing.pcl is the name of the PCL file.
This utility is described in the Windows Server command line reference.

Related

What kind of Cloud do I need? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
There's a program MetaTrader4 that can run scripts.
My script reading data from text files (up to 3 gb) and analyse them.
It's like Excel vba script analysing sheet's data.
Billions of iterations. Results of calculating stored in another txt file (up to few GBs)
Is it possible to run many instances of MetaTrader4 using cloud (Azure?)
If no I can recode script to Delphi application is that possible for Azure or other cloud service?
If so how can I do that? I have a trial in Azure but don't know where to start.
using Azure, one option is using Azure WebJobs and it works with Exe files too (if your program is .exe)
Acceptable file types for scripts or programs to be used in Azure Web Jobs:
.cmd, .bat, .exe (using windows cmd)
.ps1 (using powershell)
.sh (using bash)
.php (using php)
.py (using python)
.js (using node)
.jar (using java)
For more detail information take a look at this link:
https://azure.microsoft.com/en-us/documentation/articles/web-sites-create-web-jobs/

How to see Ruby source code in Windows [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I've been trying to open Ruby source code on my Windows machine but a black box appear for less than a second and then close without showing anything, I've tried to open it with "command prompt with ruby" using File.open method but it keeps showing an error:
File.open is not recognized as an internal or external command, operable program or batch file.
You just need to use command type.
C:\> type ruby_program.rb
Just go into the directory, where your .rb file lives. And then do as above.
Read this What is the Windows equivalent of the Unix command cat?.
normally you can use every normal text editor, like notepad or ultra edit.
But the source can be encrypted, then you will see many bit's.

Cloud Print and thermal printers [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am using Google Cloud Print for print generated PDF documents in a web app.
All was working fine in all printer types that i use (HP, Zebra, etc) but about 2 weeks ago all Zebra printers (thermal printers) are printing PDF documents in portrait mode (Ignoring printer settings).
What i need?: That Google Clout print keeps my printers settings.
My tests:
I changed printer settings (Document orientation: Portrait/Landscape).
I rotated the PDF documents before send to Google Cloud Print.
I sent ticket printer/capabilities but Google Cloud Print ignored it.
I'm sure that it's a Google Update.
Exist other people that are using Google Cloud Print with thermal printers?
There is any solution for it?
UPDATE1:
Google updated some documentation https://developers.google.com/cloud-print/?hl=es-419&csw=1
This does not solve my problem, but I posted a library in java that I hope will be useful to others and maybe someone will be encouraged to participate.
This library is compatible with version 1 and 2 of the Google Cloud Print API
Github repository https://github.com/fsistemas/GoogleCloudPrintApiClientJava
You might want to try PrintNode which has support for all major thermal printers. It can print both .pdf's files, zpl and epl printer languages. You install the PrintNode client on a desktop machine and can send printjobs via their JSON API or web interface. It's alot faster than Google Cloud Print.

Working with Sublime Text on local server [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
Sublime Text is good native text editor for web developers and other programmers. Using ftp feature is not user friendly, so my question is second:
What is the best practices to work locally with sublime text editor?
Main problem is:
After do some changes on localhost(database is on localhost, not on
remote server) i want see immediately result on remote server.
Please, give me some practical info.
For Windows a good tool which allows automated sync(including deletes) with remote and also allows to add exclusion rules is WinScp
for Mac the same can be done using Yummy FTP Watcher
NetBeans IDE is available on both mac and windows and 8.0.2 version has perfect upload on save function which also updates remove on file add and delete.
Take a look at the Sublime SFTP package by wbond, the creator of Package Control. It works for FTP, SFTP, and FTPS connections, allows syncing of files/folders (in both directions), and is pretty much invaluable for this kind of work. It costs US$16, but is definitely worth it.
Alternatively, if you're on a Mac, check out Transmit. It allows you to map SSH/FTP shares as a local volume, so you can use any program, not just Sublime. It's US$34, but very much worth it.
For other operating systems, google "FUSE" (file system in user space). Many Linux distros have packages available for various solutions, and there are versions for Windows as well. They essentially do the same thing as Transmit in allowing you to map a network resource to a local drive/volume.

Xerox postscript printer to use in software development [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
months ago I was digging the web for a postscript driver and I met a xerox postscript driver that was at that time royalty free. I was needing it to develop a module in Delphi that printing from an external program would then use the ps generated from it to perform some other conversions.
The problem is that today, that I have the time to work on this project, I'm no more able to find that driver.
Someone knows where I can find it?
Any PostScript driver should work. Install a printer with the driver, and then configure the printer to "print to file." You'll be prompted for a file name, and the output will be PostScript. The physical printer doesn't need to exist; choose the driver that supports the fanciest features you want from the drivers that come with your operating system.

Resources