Page height is zero
We're building a pre-flight tool to check page orientation and auto-rotate to consistantly build right reading books whether or not the page is landscape or portait but we're coming up with pdfs with MediaBox[0 -612 792 0] and getting page height = 0 and then the tool fails. We don't seem to be able to fix this programmatically. /Rotate = 0. Most of these PDFs are 1.6 but It was noticed that in PDF version 1.6 there is no mediabox and instead just has /BBox. Is there some significance to this? There doesn't seem to be a /Rotate either. I believe these pdfs are created programattically via some API rather than through InDesign or Distiller. We're trying to find a consistent way of determinig page size to do our calculations and/or be able to repair a pdf prior manipulation.
Any ideas how we should go about this? We are using a 3rd party API to do the work but this seems an issue with the actual PDF vs. the API, at least at this point.
thanks,
Bob
I can't see the problem...
The MediaBox' lower left corner is at 0 / -692, and the upper right is at 792 / 0 - in other words the page is 792 units wide and 692 units high.
Make sure you never assume that the origin of the MediaBox is at 0 / 0 - it can be anywhere on teh coordinate system.
For example, if you had a MediaBox of
[-20792 -10692 -20000 -10000]
its size would still be 792 by 692.
Olaf
Similar Messages
-
Control the page height and page width of pdf report using pasta_pdf.cfg
Hi All,
I've followed the note: 338990.1 (how to print publisher PDF reports via the concurrent manager) in metalink to print a PDF REPORT. Everything work fine except the page height and page width is used as default (8X11). Is there anyway that i can custom page height and page width size such as: legal (8.5X14).
current set up in pasta_pdf.cfg
[DEFAULT]
%% ============== Preprocessing Command ==================== %%
% Pasta can use a preprocessing command to invoke any executable
% that supports an input file and an output file (a filter program).
% You can use redirection. Pasta will invoke the filter program
% to preprocess the Pasta output before passing it to the printing
% command. By using the preprocess option, you can generate output
% formats other than the formats Pasta currently supports. For
% example, you can generate PCL output.
% You can use {infile} and {outfile} in this option.
% {infile} is the output file generated by Pasta. You can use
% it as input for the preprocessing command. It is a temporary
% file and will be deleted after being passed to the
% preprocessing command. {outfile} is the output file generated
% by the preprocessing command. Pasta names it temporarily and
% it will be deleted after being passed to the printing command.
% If you want to keep it, you can name it by using the '-o'
% command line option. Pasta will copy {outfile} to the file you
% specify.
% Preprocess for PDF output
% This is an example for PDF output to print.
; Xpdf
preprocess=/usr/local/bin/pdftops {infile} {outfile}
; Ghost Script
; preprocess=pdf2ps {infile} {outfile}
; Acrobat
; preprocess=acroread -toPostScript -pairs {infile} {outfile}
%% ============== Printing Command ========================= %%
% You can specify the printing command and options you want
% to use to print your report. Pasta will pass the final output
% to this command. {printername} will be replaced by the
% actual printer name passed through the command line option
% (-pn), so in most cases you don't have to change these
% options.
% for UNIX platform
printCommand=lp -c -d{printername}
% for Windows platform
ntPrintCommand=print /D:{printername}
%% ============== Error Log File =========================== %%
% This tells Pasta to create a log file. The default error
% output is stderr.
;errorlogfile=pasta.log
NOTE: pasta version 3.0.4
form server 6.0.8.27.0
third party tool is pdftops
Thanks
Kevini think that can be down from the printing direver/styles/prt files when you added the printer at your apps system check the follwoign for more info.
( How to Implement Printing for Oracle Applications: Getting Started )
Note:269129.1
(Step By Step Guide to Set Up a Printer in Oracle Applications)
( Note:60936.1)
fadi
http://oracle-magic.blogspot.com -
Hi,
Since an upgrade from Word 2003 to Word 2010, we are experiencing printing issues with certain
documents that have a page width greater than its page height.
In Word 2003, it was no problem to set the page width greater than the page height while setting the page orientation to "portrait".
In Word 2010, this seems impossible: despite leaving the page orientation to "portrait", if one changes the page width/height as stated,
Word 2010 automatically adjusts the orientation to "landscape". Resetting the orientation to "portrait" will flip the page's width/heigth settings.
This behaviour causes printing problems: the page prints out 90° rotated.
I do not believe this is a printer driver issue: I tried several different printer drivers, and all give the same (bad) result. Setting the printer driver's page orientation settings (before printing) makes no difference, as
Word 2010 seems to force the page orientation settings.
Inserting the documents 90° rotated is not an option, since it causes problems with the printing margins.
This is very annoying, since we have to print official documents of a municipality (driver's licences).
Is there a workaround for this issue?
Regards,
Laurent Grandgaignage
Sysadmin Gemeentebestuur Stabroek, BelgiumHi
Thank you for using
Microsoft Office for IT Professionals Forums.
From your description, we can follow these steps to test this issue
Step 1: Repair Office 2010
1.
Click
Start, and then click Control Panel.
2.
Click
Programs and Features.
3.
Click the
Office 2010 program that you want to repair, and then click
Change.
4.
Click
Repair, and then click Continue. You might need to restart your computer after the repair is complete.
Step 2:
Rename the global template (Normal.dotm)Follow the steps for the operating system that you are using:
Windows Vista and Windows 7
a)
Exit Word 2010
b)
Click
Start.
c)
In the
Start Search box, type the following text, and then press
ENTER:
1.
%userprofile%\appdata\roaming\microsoft\templates
d)
Right-click
Normal.dotm, and then click Rename.
e)
Type
Oldword.old, and then press ENTER.
Microsoft Windows XP
a)
Exit Word 2010
b)
Click
Start, and then click Run.
c)
In the
Open box, type the following text, and then press ENTER:
%userprofile%\Application Data\Microsoft\Templates
d)
Right-click
Normal.dotm, and then click Rename.
e)
Type
Oldword.old, and then press ENTER.
f)
Close Windows Explorer.
How to troubleshoot print failures in Word 2010, Word 2007, and Word 2003
http://support.microsoft.com/kb/826845
Please take your time to try the suggestions and let me know the results at your earliest convenience. If anything is unclear or if there is anything
I can do for you, please feel free to let me know.
Hope that helps.
Sincerely
William Zhou CHNPlease remember to mark the replies as answers if they help and unmark them if they provide no help. -
Page height not changing and yes, I've checked for hidden objects
Hi
has anyone got any advice? I'm tearing my hair out!
I cant seem to change all my websites page heights despite checking that there are no hidden items
best wishes HelenHello,
Please go in the page in design mode. Select "Show all on Page" and "Unlock all on Page" from Object Menu.
You may find some unwanted elements near the footer of the page. Deleting them will fix the problem. If it do help then please share the muse file with us so that we can take a look at it.
Regards
Vivek -
Dreamweaver set page height in CSS
Hi everyone. What is causing this giant white space under my bottom menu bar?
I know now I should have used divs and padding, but I've spent all afternoon position every element using relative positioning and don't want to have to redo my entire website!
Here's the website:
http://www.jhurleydesign.com/_drivetastic_site/
Here's my CSS:
@charset "UTF-8";
body {
width: 1018px;
margin-left: auto;
margin-right: auto;
.lgo {
position: relative;
top: 0px;
right: 0px;
z-index: 20;
.tbr {
position: relative;
top: -49px;
right: 0px;
background: url(../_images/best.png) repeat-x;
height: 45px;
width: 1018px;
z-index: 10;
.tmu {
position: relative;
top: -87px;
right: -350px;
z-index: 30;
border: none;
outline: none;
.bbr {
position: relative;
top: -48px;
right: 0px;
background-color: #212121;
height: 45px;
width: 1018px;
z-index: 10;
.bmu {
.bmu .mi {
font-family: Helvetica, Arial;
font-size: 8px;
font-weight: 850;
position: relative;
top: -80px;
right: 0px;
z-index: 30;
border: none;
padding-left: 20px;
text-decoration: none;
display: inline;
a.mui:link {color: #FFF;
text-decoration: none;
a.mui:visited {color: #FFF;
text-decoration: none;}
a.mui:active {color: #8a130d;text-decoration: none;}
a.mui:hover {color: #8a130d;
text-decoration: none;}
.bmu .cr {
font-family: Helvetica, Arial;
font-size: 8px;
font-weight: 850;
position: relative;
top: -92px;
right: -816px;
z-index: 30;
border: 0;
padding-left: 20px;
text-decoration: underline;
a.crt:link {
color: #FFF;
text-decoration: underline;
a.crt:visited {color: #FFF;
text-decoration: underline;}
a.crt:active {color: #8a130d;text-decoration: underline;}
a.crt:hover {color: #8a130d;
text-decoration: underline;}
.lrn {
position: relative;
top: -160px;
right: -20px;
z-index: 15;
.grd {
position: relative;
top: -590px;
right: 0px;
background-color:#e8e8e8;
height: 295px;
width: 1018px;
.lgrd {
position: relative;
top: -590px;
right: 0px;
background-color:#fbfbfb;
height: 443px;
width: 1018px;
z-index: -10;
.stm {
position: relative;
top: -1300px;
right: -535px;
.container {
position: relative;
top: -1226px;
right: -23px;
z-index: 10;
.container .txt {
font-family: Helvetica, Arial;
font-size: 14px;
display: inline;
width: 215px;
padding-right: 36px;
float: left;
display: inline;
color: #a5a5a5;
.container .txt img {
.container .txt a {
float: left;
padding-top: 23px;
.prms {
position: relative;
top: -1120px;
right: -8px;
float: left;
display: inline;
.tst {
position: relative;
top: -1152px;
right: -44px;
.prms .txt {
padding-top: 11px;
color: #8a130d;
font-family: Arial, Helvetica;
width: 459px;
.prms .ltxt {
position: relative;
top: -20px;
font-family: Arial, Helvetica;
color: #494949;
font-size: 12px;
font-family: Arial, Helvetica;
height: 36px;
width: 260px;
position: relative;
top: 10px;
padding-bottom: 138px;
float:left;
display: inline;
.quoteimgs {
position: relative;
top: -1444px;
right: -591px;
padding-bottom: 0px;
.prms .ltxt {
.prms .ltxt p {
margin-bottom: -px;
.prms .ltxt p a:link{
color: #8a130d;
text-decoration: none;
.prms .ltxt p a:visited{
color: #8a130d;
text-decoration: none;
.prms .ltxt p a:active{
color: #8a130d; text-decoration: underline;}
.prms .ltxt p a:hover{color: #8a130d;
text-decoration: underline;}
.btmub {
Please someone give me a work around to force the page height? Need to get rid of that white space
If someone could find out what's causing the page to be bumped down...honestly spent hours and hours looking and deleting parts of my CSS and I can't work it out at allIf your were to remove all positioning (highly recommended) and just let the normal document flow determine your page height, you would have far fewer problems. Suggest you start your project with a pre-built CSS Layout that has all the columns and containers you need. This will save you many hours of needless frustration, too.
DW Starter Pages (free)
http://www.adobe.com/devnet/dreamweaver/articles/introducing_new_css_layouts.html
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
http://alt-web.blogspot.com/ -
When using a chart in Pages, the first zero is deleted in any number beginning with a zero
When using a chart in Pages, the first zero is deleted in any number beginning with a zero (for example, 055). How do I stop this?
The leading zero in the value 55 is unnecessary, so Numbers eliminates it for cells formatted as Number or Automatic. A cell formatted as Text prior to making the entry will take whatever you type into it and keep it as entered. A cell formatted as Numeral System will display as many places as you tell it to, and will add zeros as necessary without your even having to type them in.
Jerry -
Page height bounces and miss aligns
Can anyone steer me in the right direction on this issue.
I have a wc3 validated page that when I drop coding for 3rd party a widget, the designated
the page height bounces and miss aligns with the other pages on the navigation.
http://santabarbararealestatepro.com/listings.php
Thank you in advance for you help! CrissymarieOn the page that is "bouncing" you have this -
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--START HEADER-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
On the page that doesn't, you have this -
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
Make you think? -
How do I scroll illustrations that exceed the page height?
I have Digital Editions 4.? (It says 4.0 but it may be later,, I'm not sure). I'm using it to read an ePub book. Some illustrations exceed the page height and get truncated. I can't figure out how to scroll the illustration so I can see the entire thing. Any help?
There is currently no way to invoke JS within Reflow or add CSS Transitions. You could export the code
and then open it in a code editor of your choice and add the necessary script to do so. An example is available here: Off Canvas Reveal Menu Template for Bootstrap -
I have a website whose pages are pretty much the same height, however, I have 3 pages that are considerably longer than the others. It uses an accordion spry that has about 15 tabbed panels. When I expand some of the content areas of the spry panels, the lower panels extend below the footer. I want to change the page height of just those pages that use the accordion spry to make it larger.
You shouldn't be expressing height values on any containers with text in them. Height is determined by content and that varies by page and the text-size people use in their browsers. Explicit height values actually limit how much content your containers can hold which can be very bad for usability reasons. If you need to reveal a background image, use the min-height property instead of height.
Nancy O. -
I go to Layout, sometimes it works, other times, it doesn't make the change. I'm using version 3.04. Thanks!
You shoulf be able to adjust the page height in the inspector tab:
The other thing that can work it is a text box in the body portion of your page just move it down the page to expand. -
Can an i-frame resize the page height and itself with new content?
I built a website in Adobe Muse and embedded a blog within an i-frame on the portfolio page of the site here...
http://dannyhardakervideo.co.uk
This approach was taken because the client needed the ability to keep adding videos to the portfolio section of the site themselves indefinitely and
i was short on ideas to implement that functionality with Muse. I've now exported the code as HTML to Dreamweaver to see what I can achieve there.
Using Dreamweaver, Is it possible for the page height and i-frame height to resize with new content as more videos are added to it? Is there some script I can add to the page?
Is there a better solution?
PLEASE HELP.Ordinarily, Iframe re-size scripts will only work when the parent page (with iframe) and the external page (blog) both reside on the same domain. However, someone came up with a cross domain solution which requires you to put jQuery scripts on both sites. NOTE: I've never tested this.
https://github.com/davidjbradshaw/iframe-resizer
IMO, a cleaner solution is to use scripts to parse the blog's RSS feed into the main site. You can use PHP code from FeedForAll or jQuery's jFeed plugin.
http://alt-web.blogspot.com/2011/06/adding-blogger-rss-feed-to-html-page.html
https://github.com/jfhovinne/jFeed
The main advantage in using a script to parse feeds is you control the appearance -- to match your main site & how many posts are displayed on the page.
Nancy O. -
Can not adjust the page height in Muse. It is stuck at 2047px.
Can not adjust the page height in Muse. It is stuck at 2047px.
Hi Gaurav
I was never was able to adjust the page height. No matter what I tried it
would not work. I ended up starting over. Lost about 6 hours of work. Is
this a issue other users are having?
Do you have any articles related to this issue?
Regards
Joseph
dePinho Design
Creative Ideas | Intelligent Solutions for Print & Web
Joseph dePinho
Creative Director
Two Rodcris Drive
Mahopac, NY 10541
phone: 845-621-8546
email: [email protected]
http://www.depinhodesign.com/
Join my Facebook:
http://www.facebook.com/depinhodesign
google.com/+JosephDepinho -
I have the following page where I'm trying to reduce the height of the page so that it fits perfectly around a border that I'm using it. However, I'm having trouble figuring out how to do this. I'm trying to change the height in page properties but that's not working, and I'm manually trying to guide the bottom page guide but it's stick. Is there a minimum page height for a broswer that needs to be reached and that's why this isn't working? Or is there a way I can accomplish this? I basically just want the background to fit the whole page and want to avoid enlarging it because then it will get skewed. ANy help would be appreciated thanks.
The footer are always extend unedr your contents (unless you set your content as a footer item).
To do what you are looking for, you must place your image into a MASTER page, not a regular page like the Home (as I can see from the screenshot you provided).
You can also try to set your image as background fill for the page. -
Cannot set page margins to zero
I am exporting a Crystal report using HTML 4.0 format. When the report is viewed via a browser the white space in the margins is being displayed. I have tried to zero out the margins to eliminate this issue but Crystal Reports will not let me set the margin values to zero. I am currently running 11.0.0.1282 Is this a know issue and is it fixed in any product updates?
The margins are an issue because they are the causing unnecessary white space my web pages. I am exporting this report as a single page (deselected Separate HTML Pages). So I have 2-3 lines of white space every place where there would be a page break. This has to be a bug because no one would want this white space on a web page.
In addition here is the help text that I copied directly out of Crystal regarding these margins:
Note: When you are exporting to a single file (that is, you have cleared the Separate HTML Pages check box) all blank space in headers and footers, as well as top and bottom page margins, is included. If you don't want to see blank spaces in your HTML file, suppress empty header and footer sections and set the top and bottom page margins to zero in the Page Setup dialog box.
Am I missing something here???? -
[AS] using [JS][OSX] find page height/width
I've been struggling to find a way to determine the page count, height, and width of a PDF without requiring Acrobat. I've stumbled up a JS that can count pages using Finder. Now I need to determine the page height/width in order to find which is the greater number. It can be using Photoshop 7.0 of Finder. The reason I'm looking for a JS script and not AS script is because it doesn't seem AS is robust enough [yet] to read this.
current working code for page count:
tell application "Finder"
set theItems to choose file
do shell script "/usr/bin/mdls -name kMDItemNumberOfPages " & quoted form of POSIX path of result & " | /usr/bin/grep -o '[0-9]\\+$'"
return result as integer
end tell
Know of anything similar to find and or compare page height/width??The height and width of a PDF can be different on every page -- it's not
something fixed for a whole document.
Shane Stanley
Maybe you are looking for
-
IPhoto Galleries not appearing in Aperture's Moblie Me.
How do import iPhoto 08 web gallery albums into aperture 2? When I go to Preferences-> Moblie Me I don't see the galleries which have been published from iPhoto.
-
Hi I have a 32L4200U I am trying to hook my laptop (lenovo thinkpad) to the TV, I am not very good with computers , I am using a 15 pin cord to hook up to my computer and another cord that goes into the sound port. when I hook up I get sound from th
-
Misplaced thumbnails - duplicate tinyCacheIndex in property list
I'm one of the users who's been frustrated lately with the wrong thumbnail showing up at times (with Aperture 2.1 at present, but I saw this frequently with 2.0). I've tracked down what I think is the immediate source of the issue, though I haven't h
-
haber tengo una duda, existe en oracle los Inner join, si existen me podrian decir cual es el error en este update me envia este codigo de oracle ORA-00933: SQL command not properly ended Código HTML: UPDATE NOTAS SET C5=0, P5=0, C6=0, P6=0, C7=0, P7
-
Can't update After Effects 11.0.3?
I'm working on AE 11.0.0.378. Months ago I updated to Mavericks - AE didn't work. So I downgraded again to the OSX 10.8.5 and AE worked again. Now I want to install the AE update first and then update to Mavericks. But I can't. I always get the messa