using a form,i insert data in to data base.Now,i want them toprint.
I am using wamp server.
I used window.print() but,i got an 404 page not found error
I have a form in which products will be listed out when,i clich total chk box it will be calculated but,it will be integera only,i want this toprint in words.
For eg:217 it should print in words two hundred seven only. Hope,this is clear.
Thnx in advance
Hi,
in C++, using printf I want toprint a sequence of number, so I get, from a "for" loop;
1
2
...
9
10
11
and I create files from those numbers. But when I list them using "ls" I get
10
11
1
2
..
so instead of trying to solve the problem using bash, I wonder how could I print;
0001
0002
...
0009
0010
0011
and so on
Thanks
I have a number of .css files spread across some directories. I need to find those .css files, read them and if they contain a particular class definition, print it to the screen.
For example, im looking for ".ExampleClass" and it exists in /includes/css/MyStyle.css, i would want the shell command toprint
.ExampleClass {
color: #ff0000;
}
I know how toprint "all" global variables using the following code
for k,v in pairs(_G) do
print("Global key", k, "value", v)
end
So my question is how to do that for all variables that are accessible from the currently executing function, something that can do what locals() does for Python.
Let's say I have this list of asterisks, and I say it toprint this way:
list = ['* *', '*', '* * *', '* * * * *', '* * * * * *', '* * * *']
for i in list:
print i
So here, the output is:
* *
*
* * *
* * * * *
* * * * * *
* * * *
But I want the output to be vertical, like this:
* * * * * *
* * * * *
* * * *
* * *
* *
*
Any tips on doing this? I've tried to conceptualize how to use things like list comprehension or for-loops for this, but haven't got it quite right.
I want toprint in the terminal with colors ? how can I do that in python ?
Another questions what is the best character that when it is printed it look like a box [brick] ?
I want toprint colored blocks, it is part of game :)
I have tried javascript window.print() It prints the full page content including the print button on the page.
thanks in advance for any solution and help
in R , when i use "print", i can see all the values, but how can i save this as a vector
for example, in for loop,
for (i in 1:10), i want the value of A , when i= 1,2,3,4..... but if i use the x=A, it only have the final value of A which is the value when i = 10. so , how can i save the vaule in print(A)
I need toprint the follwoing:
* need smart way by printf toprint this example
param1 ............... value1
param2 ............... value2
param3 ............... value1
param4 ............... value2
THX
I tried toprint background image by enabling browser's 'print background image' option.But it shows me half of the image.What's the problem and how exactly I can solved that?
Thanks.
i search online but can't get satisfactory result
i want to protect images on my website, i know i can disable save as, right click.
the real question is can we Disable Clipboard & Print Screen with JQUERY or java script.
so no image copy from print screen.
thanks
IP 192.168.1.5 has a wireless connection to a Linksys router (192.168.1.1) which then is connected to a switch. The switch is connected to a server (192.168.0.2). My printer has IP address of 192.168.0.8. Internet connection is fine on 192.168.1.5.
Problem 1: IP 192.168.1.5 can not print using printer 192.168.0.8.
Problem 2: IP 192.168.1.2 can not access a shared folder on the the server.
The reason for connecting this way is that, the server does not release wireless signal. In order to get wireless signal the Router is connected to the switch. The server is a computer server that only has one outgoing LAN port. Plus, due to inconvinience physical locations, I do not have option to change the physical locations and the way it is connected already.
I just want the labtops that only have wireless connection to communicate with the printer and the server.
I have tried to change the router IP address to 192.168.0.x like the server and printer. It caused problem for the laptop. The router no longer release internet signals.
The router does have IP address from the server 192.168.0.5.
After 10 hours and trying 4 other HTML toPDF tools I'm about ready to explode.
wkhtmltopdf sounds like an excellent solution...the problem is that I can't execute a process with enough permissions from asp.net so...
Process.Start("wkhtmltopdf.exe","http://www.google.com google.pdf");
starts but doesn't do anything.
Is there an easy way to either:
-a) allow asp.net to start processes (that can actually do something) or
-b) compile/wrap/whatever wkhtmltopdf.exe into somthing I can use from C# like this: WkHtmlToPdf.Save("http://www.google.com", "google.pdf");
Hi,
I have been presented with a problem which requires me toprintPDF files from a server as part of an ASP.NET web service.
The problem is further complicated by the fact that the PDF files I have toprint can ONLY be printed using Adobe Reader (they were created using Adobe LiveCycle and have some strange protection in them).
This piece of code seems to do the trick in the Visual Studio development web server, but doesn't do anything when the site's running in IIS.
I'm assuming this is probably some sort of permissions issue!?
I know this is a FAR from ideal thing to be trying to do, but I haven't really got much choice! Any ideas would be greatly appreciated!
Dim starter As ProcessStartInfo
Dim Prc As Process
' Pass File Path And Arguments
starter = New ProcessStartInfo("c:\program files\...\AcroRd32.exe", "/t ""test.pdf"" ""Printer""")
starter.CreateNoWindow = True
starter.RedirectStandardOutput = True
starter.UseShellExecute = False
' Start Adobe Process
Prc = New Process()
Prc.StartInfo = starter
Prc.Start()
I was wondering if it's possible to do this without using 3rd party compnents in MVC 3. (I am open to free components though.) There are a couple of links out there but they seem to be mostly concerned with reporting and other code samples that do claim to do this sort of thing don't seem to compile. I'm not having any trouble saving and retrieving the PDFs to and from my database, but when I return the PDF as a File or a FileStreamResult the user is prompted with a download. A more desirable approach would be to actually render the PDFs inside the browser. I've had a look at iTextSHarp, it does the job to an extent, but it's not a complete solution. For example it will display the PDF inside the view if and only if the client has Adobe Reader installed, otherwise it prompts for a download. So technically, I'm mostly looking for a PDF viewer. Any ideas?
I'm playing to manipulate PDF on iOS (display but also and mostly generation).
I wish to embed rectangular areas which act as "external" links (URLs like http://host.tld/path/file).
Do you know where I can find an example(s) of how to use the UIGraphicsSetPDFContextURLForRect function? I find absolutly nothing on Internet.
If I understand well, the only requirement is that the current graphic context should be PDF "type" and I think I respect this since, upstream, I call UIGraphicsPushContext why my PDF context as parameter (this was anyway required for methods like drawAtPoint: that I use also with success).
I do not think it is important but just in case I specify that this DOES NOT take place in the drawRect: of a View subclass.
You're quite right to say me unequivocally that I have "all wrong". The graphical environment is so sophisticated and rich in iOS that I assume to have not assimilated more than 1 or 2% for now.
Thank you in advance.
I want to create a drawing application where I can place text and images on a canvas. Those elements also need to be interactively manipulated. Eventually the resulting canvas has to be exported to a vector based PDF. An excellent contender for this functionality would be SVG.
However, this application also needs to be crossbrowser compatible. I've been browsing around for some time now and have seen a couple of solutions available. I found among others RaphaelJS and Google's SVGWeb for working with SVG.
Now for converting those SVG files to a PDF I'm not sure if for instance Batik will offer me what I am looking for.
Also, how would bitmap images be handled when converting the SVG to PDF?
Hi,
I want to display a table and a image side by side. i.e Left side the image and right side the table. I want this because the image is the reference image for the data present in the table. I want that output in pdf. So I am using QTextDocument, QTextCursor and QPrinter to get the output in pdf. So how it is possible to display the image and table in QtextDocument i.e within a single page of the pdf? I am using Qt 4.5.3 and Windows Xp. Any pointers regarding this are welcome.
I am getting the following error while compiling my Latex File :
! LaTeX Error: Cannot determine size of graphic in tree.jpg (no BoundingBox).
Why do I get this error ? What has this to do with an .eps file ?
Infact, I could compile it fine with MacTex on my machine. But when I submit it online to a scientific journal for publication, it compiles it on the server and sends me the resultant PDF which as all these error that prevent it from compiling.
I am using the following syntax for including the images :
\begin{figure}[!h]
\begin{center}
\scalebox{0.45}{
\includegraphics{tree.jpg}}
\end{center}
\caption{\small A sample}
\label{tree}
\end{figure}
What should I do ? Could it be that their server is using an old compiler ?
UPDATE : It finally worked. I converted the first image toPDF and the compilation happened perfectly. I guess it used the bounding box value from that PDF and applied it to all images.
I am thinking of using the Google Document Viewer to show PDF files that are hosted by our company server.
The scenario is:
A webpage will contain a menu with menu items that are actually different pages of a PDF file.
After clicking a menu item, that particular page from the pdf will be displayed on that same web page
This project is targeted for mobile devices (iPad, for now)
Now, I am using an iFrame like below:
But I don't know if linking to a specific page is possible or Google would like that because I tried the solutions posted on how to open specific page on Google's docs viewer and http://googlesystem.blogspot.com/2009/11/link-to-page-in-googles-document-viewer.html but all of them seem to be outdated.
Is this even possible? Thanks for any help.
I am modifying the QuartzDemo application to include swipe detection while UIView is active (a PDF page being displayed in it via Quartz).
This will not work, the event never gets to the QuartzView.m because it sits under scrollview?
touchesBegan works fine and I can use single tap.
How can I go about with catching touchesMoved while PDF page is being displayed?
I need a simple example with code that does nothing on touchesMoved, I'll build up on that later.
Please keep in mind that I still want to use the UIScrollview as it is and show PDF content based on selection in that scrollview.
I'm trying to solve a similar problem as was described here - to create a Windows Service for taking snapshots of rich webpages (html+js+flash) and saving them to a PDF file.
The bundle Firefox+cmdlnprint did the trick for me. I wrote a simple program running as a service that invokes Firefox to make a PDF. All seems well, the PDF gets created, but Flash is completely missing. Although, when started not as a service, Flash renders just fine.
Can anyone shed a light on what blocks Flash from rendering and if there's a workaround?
thanks!
I have a module which merge document from database records and .docx or .odt document model.
I have to output .docx, .odt or .pdf. For outputing MS and Open format, there is no problem, all work properly.
But what I want to know is, if I can output something (like XML or HTML) which I can use after to build a PDF document?
If I can't, are there any libraries which provide merge document like :
DOCX (or ODT) + database record => PDF
And I don't want use phplivedocx.