i've been googling for the last few hours now and can't seem to find an answer. but i did come close with
http://stackoverflow.com/questions/1648399/starting-serverside-print-job-via-php
Whole idea is I've got an intranet site on my windows server running xampp / wamp, I don't really want to give printing access rights to everyone a...
I need to get paper size by System.Drawing.Printing.PaperKind. Are there any predefined values? I don't want to hardcode or calculate paper sizes, I just want to get it programmatically. Thanks.
...
Hi,
I'm getting a strange exception from the following code:
var printDialog = new PrintDialog();
printDialog.ShowDialog();
var printDocument = new PrintDocument { DefaultPageSettings = { Landscape = true, PrinterSettings = new PrinterSettings { PrinterName = printDialog.PrintQueue.Name } } };
var updateRe...
I have a crystal report file for print check values on check paper (cheque paper)
at sometimes printer pass check paper but report remind for next page.
how can I remove remind page ? how can I print a report only for one page passed without checking end of report or page size.
...
I have some divs on a page that are hidden via jquery when the page loads up. Then the user can hide and show them via button clicks.
I have a button that opens up a print preview and media="print" stylesheet that the print preview uses.
I want all the divs to show regardless of whether they are hidden or not when the print preview ...
I know that android sdk 2.0 has provided the new bluetooth API for developers. But I'm not sure if this can help me connect to bluetooth printers. Are there any protocol restrictions or device limitaion for this? Is it possible that the bluetooth device is undetectable by android phone?
...
How to control the printer to start printing using printer's control language?
I know there exist some commands to control the printer but I haven't found it yet.
So I wondering how the printer knows when it could start printing?
...
Hi there folks,
I'm stuck with the following problem:
I can watermark any PDF already, and the images inside, everything ok, but now I need the watermark only showing up when the PDF is printed... Is this possible? How?
I need to do this programmatically of course...
I'm really stuck and running out of time, any help will be highly ...
I have a web application with asp.net 2.0 and I want to create a dropdown menu showing the printers installed on the client machine? How is that possible?
I tried the following code
foreach (string strPrinter in System.Drawing.Printing.PrinterSettings.InstalledPrinters)
{
// add to list
}
but it shows only the local printers attac...
I am trying to build up a string which will link directly to the Google maps print view.
e.g. http://maps.google.co.uk/maps?f=d&source=s_d&saddr=brixton&daddr=bath+to:bournemouth&hl=en&geocode=FUQ7EQMdyDr-_ym5RCh-QQR2SDGm1XOO93zFHA%3BFbQEEAMdMgfc_ykt4T50pnhxSDEJmm3W0CeLEw%3B&mra=ls&sll=51.75764,-1.241455&...
There is a PrintingPermission attribute in the framework which takes a PrintingPermissionLevel enumeration with one of these values;
NoPrinting: Prevents access to printers. NoPrinting is a subset of SafePrinting.
SafePrinting: Provides printing only from a restricted dialog box. SafePrinting is a subset of DefaultPrinting.
DefaultPrin...
I get the queue from my targeted printer and goes through the list of jobs on it. When a job is not IsSpooling, I try to read the JobStream to see the print job.
So far JobStream has always been null. My printed stuff comes from on DOS application and should be pure text. I've Paused the printer to safe the rain forest, but I should sti...
Datagrid contains more than 200 rows and 15 columns some cell contains graph as well.
Virtualization is enable in datagrid so datagrid doesnt have entire viusal.
...
Basicaly what i want to do is retrieve hp's Printer Model from network printer via SNMP in c#.
Searching SO didn't yield anything usefull.
Where do i start?
...
hi all
I have alot of divs on a page with variable amounts of content in them. I am trying to use page-break-inside: avoid; so that each div section is not broken over 2 pages.
It is working in firefox but not IE8.
I have this in my css print file
.page-break-inside-avoid {page-break-inside: avoid;}
and my divs have the class in li...
Hi,
I need to use a card printer (Evolis Tattoo) with java .. the problem is, that java seems not to have a correct mediasize (54mm by 85mm or 2.13" by 3.38"). Thats my code:
DocPrintJob job = tattoo.createPrintJob();
PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet();
aset.add(new MediaPrintableArea(0, 0, 54, 85...
How to enable background printing by default using CSS or JavaScript from all browsers' default settings?
...
I have a COM component written in C++ that has a Print function. This print function takes the Printer hDC as a parameter that includes all settings to use for the print. Previously, this was called from VB6 code, and Printer.hdc would work here after setting everything on the Printer object.
The code was converted from VB6 to VB.NET, a...
This is a typical Multiple Choice exam, Assume a question format:
<question qid='1'>
<stem>What is your name?</stem>
<choice value = 'a'>Arthur, King of the Britons</choice>
<choice value = 'b'>There are some who call me ... Tim!</choice>
<choice value = 'c'>He is brave Sir Robin, brave Sir Robin, who-- Shut up! Um, n-- n-- n-- nobody, ...
Hi,
I have file (*.shp used in GIS) that contains collection of polygons and maybe other vector objects (but polygons are most important for me). I need to remove non printable objects it.
I don't know what criteria chose. I think removing objects with small border length would be better then removing objects with small area (so long ...