printing

Printing to IP receipt printer from ruby

Want to send text to a network receipt printer using ruby. I know the IP address of the printer. The printer is accessible through the network, but it is not directly connected to the computer. I'm using a Star TSP100LAN, but I'm sure it would be using the same protocol as other receipt printers. ...

printing ip addresses using gdb

I am debugging a networking code and want to print ip addresses which are declared as int32. when i print it using gdb print command, i get some values which is not much meaningful. How can i possibly print them in meaningful format? ...

Printing c# forms with DeckWorkspace

I'm having a bit of trouble printing some of the forms in our Smart Client Software Factory application. We've got a master form, which has a header showing some critical information, and underneath a list box and a DeckWorkspace. The list contains a set of categories, and when one is selected, a separate form is loaded into the DeckWor...

Printing from a BlackBerry Java App

Hello, I'm writing a BlackBerry Java application and need it to submit a print request to a printer, possibly connected via Bluetooth. Buying a special printer just for the BlackBerry is an option. Any advice would be appreciated. Thanks :-) ...

How can I print to a label printer from a web page

Hi I have an e-commerce web application and I'd some how like to make that print to a label printer for the back end stuff I have two questions 1) I can't print from a normal webpage straight to the printer (A zedbra LP2844 i think) it just throws out junk 2) I want to be able to print labels to the label printer, but all other print...

Objective C Printing: How to set header content?

Hi there, I want to print a specific NSView. When I do this, I wish to add content to the header of the print page. e.g. If the NSView contains a picture of a cat, when I press print, print preview shows up with the picture of the cat. I want the print out to be a picture of a cat, with the caption: "Cat" in the header, which I do not...

C# Printing Inconsistent

I have a form on which I have a number of textboxes. I wish to print the text from these textboxes in the locations they are on the form. It is printing at the moment using the code below. However, the text prints differently on different printers (on some it prints just right, on some too high, etc). It is being printed on a pre-printed...

Python print buffering

Let me rephrase my previous question. I just created a tool in ArcGIS using pythong as script language. The tool executes (runs) an outside program using the subprocess.popen. When I run the tool from ArcGSIS, a window appears that only shows the following. Executing: RunFLOW C:\FLOW C:\FLOW\FLW.bat Start Time: Mon Nov 30 16:50:37 2009 ...

Opening Print-HTML-Popup from Flash?

Hi, is it somehow possible to open a HTML popup window from within Flash and have it receive text data from Flash which should be printed ... and this all only in AS3 and Javascript (since no server-side scripting is available)? ...

printing variable inside awk

In this script , I want awk to print the variables $file, $f, $order and sum/NR (all in a single row) #!/bin/bash for file in pmb_mpi tau xhpl mpi_tile_io fftw ; do for f in 2.54 1.60 800 ;do if [ ${f} = 2.54 ] then for order in even odd ; do # echo ${file}_${f}_${order}_v1.xls >> P-state-summary.xls awk '{s...

print out paging with css | page-break-before:always; cross-browser issue!

Hi friends, I have an issue about print paging. you can see my code below. it is not making page break for the print preview :( any idea what can be the problem? Appreciate helps! HTML Code <h1>header text</h1> <p>Lorem Ipsum jhdfb jdhbg sdfgshdbfgkjhsdbgkjhbs d sdgf</p> <div class="pagebreak"></div> <h1>header text</h1> ...

Formatting plain text output for printing?

This may be a naive question, but bare with me. I have a program that outputs a report into plain text. The report must be plain text for it to load into a third party program. The report also needs to be printable. When dealing with plain text, what limits should I set on line size and number of lines on a page to get it to print reaso...

VS2005: How can I print a selected piece of code without the highlighting?

When I want just one piece of code printed, I can select it, and press the "print" menu command; what follows is a printout of the correct piece of code, but with a highlighted background. Any tip on how to get a selected piece of code printed as I would see it, unselected? ...

Print CMYK image

I have CMYK image in TIFF format and would like to print it in my Windows Forms application. But, when I looked at the color of the print, it didn't look right. So, my guess is that the data sent to the printer was treated as RGB rather than CMYK (When I printed the CMYK image in Photoshop, it printed the correct color). So, my question ...

how to print just the popup window

Using our custom Drupal module to display tabular information pulled via another server's view (so it's not saved to drupal db). Users click a line item in this table, which causes a shadowboxed popup modal window containing that line item's details. We are using the popups api function call to achieve this: popups_add_popups() Unfor...

Printing to a Local Shared Printer When the Network is down

I have some legacy application logic that sends files to an attached printer using a DOS copy command: copy fileToPrint \myLocalComputerName\printerShareName The problem is that even though the application is running on the computer that's physically attached to the printer since it's using a network "share" it requires the network be ...

Problem - Sending postscript data to printer using ExtEscape

I'm trying to send postscript data to the printer using ExtEscape, but the printer didn't respond at all for the following code (1st ExtEscape returned true. 2nd ExtEscape also returned true, but no print came out). I appreciate any help. escapeCode = POSTSCRIPT_PASSTHROUGH; if (bReturn = ExtEscape( printerDC, QUERYESCSUPPORT, sizeof(in...

Help : printing multiple "reports" from browser (IE 6 essential, others would be nice)

No thoughts on this one? Anyone? Here is my scenario: I have a form where the user selects a report type, and then selects a list of users they want to generate reports for. When they submit the form, a new window is opened that uses pagination to allow the user to review each user report individual by using next and previous links. ...

jquery simplemodal: move #simplemodal-container to 0,0 for printing?

Our simplemodal alert div needs to be printable. The content itself should fit on the page fine in most cases, but I can't override the positioning in my print css to get it flush top/left for printing to avoid having the right side cut off. It seems like I can change #simplemodal-container in my print css for everything but positioni...

JasperReports with resolution different than 72dpi

I've been trying to use JasperReports to print in a resolution above 72dpi, with no success. I need to use some resolution above 72dpi because I'm going to print in those pre-formatted adhesive labels, which need a certain level of precision when setting the positions. But, as JasperReports can only use pixels, and AFAIK only supports t...